Skip to content

Commit

Permalink
explicitly point to compiler (for windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
toroidal-code committed Feb 18, 2024
1 parent 8e3978c commit 9d74579
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@ jobs:
env: ${{ matrix.compiler == 'llvm' }}
if: ${{ matrix.compiler == 'llvm' }}

- name: Configure
run: cmake -Bbuild -DBUILD_TESTS=YES
- name: Configure for native compiler
run: cmake -B build -DBUILD_TESTS=YES
if: ${{ matrix.compiler == 'native'}}

- name: Configure for non-native compiler
run: cmake -B build -G Ninja -DBUILD_TESTS=YES -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX"
if: ${{ matrix.compiler != 'native'}}

- name: Build
run: cmake --build build --config Release
Expand Down

0 comments on commit 9d74579

Please sign in to comment.