Skip to content

Commit

Permalink
Explicitly set CC and CXX
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <[email protected]>
  • Loading branch information
jjerphan committed Apr 12, 2024
1 parent 22cccf0 commit a980bbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
init-shell: bash
cache-downloads: true

- name: Set CC and CXX to use clang and clang++
run: |
echo "CC=$CONDA_PREFIX/bin/clang" >> $GITHUB_ENV
echo "CXX=$CONDA_PREFIX/bin/clang++" >> $GITHUB_ENV
- name: Configure using CMake
run: cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=${{matrix.config.name}} -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON

Expand Down

0 comments on commit a980bbc

Please sign in to comment.