commit e0f804dc4e3da5c078ced2c10d53f36bb7b109b4 parent d5ba737ae75d1183dd69c8b72899f1801569adda Author: jvoisin <julien.voisin@dustri.org> Date: Wed, 5 Jul 2023 00:55:47 +0200 Run several clang versions in the CI Diffstat:
M | .github/workflows/testsuite.yaml | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml @@ -20,8 +20,15 @@ jobs: clang: runs-on: ubuntu-latest + strategy: + matrix: + version: [12, 13, 14] steps: - name: Checking out the code uses: actions/checkout@v3 + - name: Setting up clang version + run: | + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 - name: Running the testsuite run: make -C tests clang | grep -zqv FAIL