Skip to content

Commit

Permalink
git: Fix compiler matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko committed May 12, 2023
1 parent 66aecd6 commit 366d642
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build_linux:
strategy:
matrix:
compiler: [gcc, clang-16]
compiler: [ {c: gcc, cpp: g++}, {c: clang-16, cpp: clang++-16} ]
runs-on: ubuntu-22.04
timeout-minutes: 32

Expand All @@ -40,7 +40,8 @@ jobs:
uses: devcontainers/ci@v0.2
with:
runCmd: |
export CC=${{ matrix.compiler }}
export CC=${{ matrix.compiler.c }}
export CXX=${{ matrix.compiler.cpp }}
export TOOLCHAIN=$(pwd)/cmake/lld.toolchain.cmake
Expand Down

0 comments on commit 366d642

Please sign in to comment.