From 98ecc9364f89a343bca12a9c6598cac7b1a60fbb Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 14 Aug 2022 14:45:17 +0200 Subject: [PATCH] :alembic: try official Clang containers --- .github/workflows/ubuntu.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 2d4352f5b..ea027bec7 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -105,6 +105,21 @@ jobs: - name: Build run: cmake --build build --target ci_test_compiler_default + ci_test_compilers_clang: + runs-on: ubuntu-latest + strategy: + matrix: + compiler: ['3.5', '3.6', '3.7', '3.8', '3.9', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14'] + container: silkeh/clang:${{ matrix.compiler }} + steps: + - uses: actions/checkout@v3 + - name: Get latest CMake and ninja + uses: lukka/get-cmake@latest + - name: Run CMake + run: cmake -S . -B build -DJSON_CI=On + - name: Build + run: cmake --build build --target ci_test_compiler_default + # ci_test_compilers: # runs-on: ubuntu-latest # container: ghcr.io/nlohmann/json-ci:v2.4.0