summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorjvoisin2023-07-05 00:55:47 +0200
committerjvoisin2023-07-05 01:02:16 +0200
commite0f804dc4e3da5c078ced2c10d53f36bb7b109b4 (patch)
treea3c338a3caf1a9d363af937f40614cd4de2ae622 /.github/workflows
parentd5ba737ae75d1183dd69c8b72899f1801569adda (diff)
Run several clang versions in the CI
Diffstat (limited to '.github/workflows')
-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 5e3793f..56a6716 100644
--- a/.github/workflows/testsuite.yaml
+++ b/.github/workflows/testsuite.yaml
@@ -20,8 +20,15 @@ jobs:
20 20
21 clang: 21 clang:
22 runs-on: ubuntu-latest 22 runs-on: ubuntu-latest
23 strategy:
24 matrix:
25 version: [12, 13, 14]
23 steps: 26 steps:
24 - name: Checking out the code 27 - name: Checking out the code
25 uses: actions/checkout@v3 28 uses: actions/checkout@v3
29 - name: Setting up clang version
30 run: |
31 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100
32 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100
26 - name: Running the testsuite 33 - name: Running the testsuite
27 run: make -C tests clang | grep -zqv FAIL 34 run: make -C tests clang | grep -zqv FAIL