summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2023-08-20 22:13:54 +0200
committerjvoisin2023-08-20 22:33:59 +0200
commit62652102ec8ff63fb2b530b1f4f04214a60387b1 (patch)
tree12e50586e918310e0ad40859c322b304679aff8f
parentd6ad45acead3db959ba40aeba532b9782048de42 (diff)
Run the testsuite on multiple gcc versions
-rw-r--r--.github/workflows/testsuite.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml
index e4188b2..9588cb8 100644
--- a/.github/workflows/testsuite.yaml
+++ b/.github/workflows/testsuite.yaml
@@ -8,6 +8,9 @@ on:
8jobs: 8jobs:
9 gcc: 9 gcc:
10 runs-on: ubuntu-latest 10 runs-on: ubuntu-latest
11 strategy:
12 matrix:
13 version: [9, 10, 11, 12]
11 steps: 14 steps:
12 - name: Checking out the code 15 - name: Checking out the code
13 uses: actions/checkout@v3 16 uses: actions/checkout@v3
@@ -23,6 +26,10 @@ jobs:
23 - name: Extracting musl-based toolchain 26 - name: Extracting musl-based toolchain
24 if: steps.cache-musl.outputs.cache-hit != 'true' 27 if: steps.cache-musl.outputs.cache-hit != 'true'
25 run: tar xzf ./x86_64-linux-musl-native.tgz 28 run: tar xzf ./x86_64-linux-musl-native.tgz
29 - name: Setting up gcc version
30 run: |
31 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} 100
32 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} 100
26 - name: Running the testsuite 33 - name: Running the testsuite
27 shell: bash 34 shell: bash
28 run: make -C tests gcc | grep -zqv FAIL 35 run: make -C tests gcc | grep -zqv FAIL