diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3ecc9f3e..8d566bb6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,8 +18,9 @@ jobs: fail-fast: false matrix: sys: - - {compiler: clang, version: '17'} - - {compiler: gcc, version: '13'} + - {compiler: clang, version: '16', config-flags: '-DCMAKE_CXX_FLAGS=-stdlib=libc++'} + - {compiler: clang, version: '17', config-flags: '-DCMAKE_CXX_FLAGS=-stdlib=libc++'} + - {compiler: gcc, version: '13', config-flags: ''} steps: @@ -49,7 +50,7 @@ jobs: cache-downloads: true - name: Configure using CMake - run: cmake -G Ninja -Bbuild -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON + run: cmake -G Ninja -Bbuild ${{matrix.sys.config-flags}} -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON - name: Install working-directory: build