File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,15 @@ permissions:
3131jobs :
3232 test_suite :
3333 name : Run the test suite
34- runs-on : ubuntu-24.04
34+ runs-on : ${{ matrix.runs-on }}
35+ strategy :
36+ fail-fast : false
37+ matrix :
38+ include :
39+ - runs-on : ubuntu-22.04
40+ gcc : 10
41+ - runs-on : ubuntu-24.04
42+ gcc : 14
3543 steps :
3644 - uses : actions/checkout@v4
3745
6371 sudo apt-get update
6472 sudo apt-get install --no-install-recommends --yes -V "${ubuntu_packages[@]}"
6573
74+ echo XXXXXXXXXXXXXXXXXX
75+ which gcc
76+ ls -l /usr/bin/gcc*
77+ which gcov
78+ ls -l /usr/bin/gcov*
79+ echo XXXXXXXXXXXXXXXXXX
80+ exit 1
81+
82+ sudo rm /usr/bin/gcc
83+ sudo ln -s "gcc${{ matrix.gcc }}" /usr/bin/gcc
84+ sudo rm /usr/bin/gcov
85+ sudo ln -s "gcov${{ matrix.gcc }}" /usr/bin/gcov
86+
6687 sudo perl -MCPAN -e 'install(Memory::Process)' # no package in Ubuntu
6788
6889 - name : make install
@@ -86,13 +107,13 @@ jobs:
86107 - name : Upload test log as an artifact
87108 uses : actions/upload-artifact@v4
88109 with :
89- name : " lcov-${{ github.sha }}-${{ runner.os }}-test-log" # .zip
110+ name : " lcov-${{ github.sha }}-${{ runner.os }}-GCC-${{ runner.gcc }}- test-log" # .zip
90111 path : tests/test.log
91112 if-no-files-found : error
92113
93114 - name : Upload test directory shrapnel as an artifact
94115 uses : actions/upload-artifact@v4
95116 with :
96- name : " lcov-${{ github.sha }}-${{ runner.os }}-shrapnel" # .zip
117+ name : " lcov-${{ github.sha }}-${{ runner.os }}-GCC-${{ runner.gcc }}- shrapnel" # .zip
97118 path : tests
98119 # if-no-files-found: error
You can’t perform that action at this time.
0 commit comments