diff options
author | Francesco Borzì <borzifrancesco@gmail.com> | 2021-01-24 01:52:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 16:52:41 -0800 |
commit | a05ff77ebc049af4c1377b7759f9530b46a6ff62 (patch) | |
tree | 5bc1bb3e170ea8039f7ea1aed2b88aa1b2faaa7b | |
parent | 13db145eec7520c27af20cc49b77e6c60318d38f (diff) |
feat(CI): deprecate gcc 7 (#4333)
-rw-r--r-- | .github/workflows/core_build.yml | 2 | ||||
-rw-r--r-- | apps/ci/ci-conf.sh | 6 | ||||
-rw-r--r-- | apps/ci/ci-install.sh | 6 |
3 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index 431ed6e67d..a5e41b01e0 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -24,7 +24,7 @@ jobs: compiler: clang # default in 18.04 is clang 6 modules: without - os: ubuntu-18.04 - compiler: gcc # default in 18.04 is gcc 7 + compiler: gcc8 modules: without - os: ubuntu-20.04 compiler: gcc # default in 20.04 is gcc 9 diff --git a/apps/ci/ci-conf.sh b/apps/ci/ci-conf.sh index 42f9674b80..b3a75448a6 100644 --- a/apps/ci/ci-conf.sh +++ b/apps/ci/ci-conf.sh @@ -28,6 +28,12 @@ case $COMPILER in 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" ) time sudo apt-get install -y gcc-10 g++-10 echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh diff --git a/apps/ci/ci-install.sh b/apps/ci/ci-install.sh index 99f267c50f..3ad34c6c54 100644 --- a/apps/ci/ci-install.sh +++ b/apps/ci/ci-install.sh @@ -33,6 +33,12 @@ case $COMPILER in 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" ) time sudo apt-get install -y gcc-10 g++-10 echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh |