File tree Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ jobs:
4545 - uses : ./.github/workflows/composite-unix
4646
4747
48- linux-gcc-old :
48+ linux-gcc-9-10-11 :
4949 runs-on : ubuntu-22.04
5050 timeout-minutes : 15
5151
5252 strategy :
5353 matrix :
5454 gcc-version : [9, 10, 11]
5555
56- env :
56+ env : &gcc-env
5757 CC : gcc-${{ matrix.gcc-version }}
5858 CXX : g++-${{ matrix.gcc-version }}
5959 FC : gfortran-${{ matrix.gcc-version }}
7070 - uses : ./.github/workflows/composite-unix
7171
7272
73+ gcc-7-8 :
74+ runs-on : ubuntu-latest
75+ container :
76+ image : ubuntu:20.04
77+ env :
78+ DEBIAN_FRONTEND : noninteractive
79+
80+ timeout-minutes : 15
81+
82+ strategy :
83+ fail-fast : false
84+ matrix :
85+ gcc-version : [7, 8]
86+
87+ env : *gcc-env
88+
89+ steps :
90+ - name : install compilers
91+ run : |
92+ apt update -y
93+ apt install -y --no-install-recommends ca-certificates gpg curl ninja-build ${{ env.CC }} ${{ env.CXX }} ${{ env.FC }}
94+
95+ - name : install CMake
96+ run : |
97+ curl -s https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
98+ echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null
99+ apt-get update
100+ test -f /usr/share/doc/kitware-archive-keyring/copyright || rm /usr/share/keyrings/kitware-archive-keyring.gpg
101+ apt-get install --no-install-recommends -y kitware-archive-keyring
102+ apt-get install --no-install-recommends -y cmake
103+
104+ - *checkout
105+
106+ - uses : ./.github/workflows/composite-unix
107+
108+
73109 valgrind-memory :
74110 runs-on : ubuntu-latest
75111 needs : linux-gcc
You can’t perform that action at this time.
0 commit comments