feat(CI): deprecate gcc 7 (#4333)
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
compiler: clang # default in 18.04 is clang 6
|
compiler: clang # default in 18.04 is clang 6
|
||||||
modules: without
|
modules: without
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
compiler: gcc # default in 18.04 is gcc 7
|
compiler: gcc8
|
||||||
modules: without
|
modules: without
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
compiler: gcc # default in 20.04 is gcc 9
|
compiler: gcc # default in 20.04 is gcc 9
|
||||||
|
|||||||
@@ -28,6 +28,12 @@ case $COMPILER in
|
|||||||
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
|
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"gcc8" )
|
||||||
|
time sudo apt-get install -y gcc-8 g++-8
|
||||||
|
echo "CCOMPILERC=\"gcc-8\"" >> ./conf/config.sh
|
||||||
|
echo "CCOMPILERCXX=\"g++-8\"" >> ./conf/config.sh
|
||||||
|
;;
|
||||||
|
|
||||||
"gcc10" )
|
"gcc10" )
|
||||||
time sudo apt-get install -y gcc-10 g++-10
|
time sudo apt-get install -y gcc-10 g++-10
|
||||||
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
|
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
|
||||||
|
|||||||
@@ -33,6 +33,12 @@ case $COMPILER in
|
|||||||
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
|
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"gcc8" )
|
||||||
|
time sudo apt-get install -y gcc-8 g++-8
|
||||||
|
echo "CCOMPILERC=\"gcc-8\"" >> ./conf/config.sh
|
||||||
|
echo "CCOMPILERCXX=\"g++-8\"" >> ./conf/config.sh
|
||||||
|
;;
|
||||||
|
|
||||||
"gcc10" )
|
"gcc10" )
|
||||||
time sudo apt-get install -y gcc-10 g++-10
|
time sudo apt-get install -y gcc-10 g++-10
|
||||||
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
|
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user