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 cae795a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ jobs:
if: ${{ matrix.compiler == 'llvm' }}

- name: Configure
run: cmake -Bbuild -DBUILD_TESTS=YES
run: |
if [ "${{ matrix.compiler}}" != "native" ]; then
cmake -B build -DBUILD_TESTS=YES -DCMAKE_C_COMPILER=${{ env.CC }} -DCMAKE_CXX_COMPILER=${{ env.CXX }}
else
cmake -B build -DBUILD_TESTS=YES
fi
- name: Build
run: cmake --build build --config Release
Expand Down

0 comments on commit cae795a

Please sign in to comment.