File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -38,20 +38,28 @@ jobs:
3838 include :
3939 - runs-on : ubuntu-20.04
4040 gcc : 7
41+ install : gcc-7 cpp-7
4142 - runs-on : ubuntu-20.04
4243 gcc : 8
44+ install : gcc-8 cpp-8
4345 - runs-on : ubuntu-24.04
4446 gcc : 9
47+ install : gcc-9 cpp-9
4548 - runs-on : ubuntu-24.04
4649 gcc : 10
50+ install : gcc-10 cpp-10
4751 - runs-on : ubuntu-24.04
4852 gcc : 11
53+ install : gcc-11 cpp-11
4954 - runs-on : ubuntu-24.04
5055 gcc : 12
56+ install :
5157 - runs-on : ubuntu-24.04
5258 gcc : 13
59+ install :
5360 - runs-on : ubuntu-24.04
5461 gcc : 14
62+ install :
5563 steps :
5664 - uses : actions/checkout@v4
5765
8896 - name : " Make GCC ${{ matrix.gcc }} systemwide default"
8997 run : |-
9098 set -x -o pipefail
99+ if [[ "${{ matrix.install }}" != "" ]]; then
100+ sudo apt-get update
101+ sudo apt-get install --no-install-recommends --yes -V ${{ matrix.install }}
102+ fi
103+
91104 # Make requested version GCC and GCOV the system default
92105 # before we have an easy way to fully divert "make check"
93106 # off of the default commands
You can’t perform that action at this time.
0 commit comments