Skip to content

Commit

Permalink
Update build-macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
baderouaich authored Oct 17, 2024
1 parent 5b25533 commit bcddea8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
- name: Install deps
run: |
brew install ninja
brew install llvm@18
- name: Ensure deps are installed
run: |
cmake --version
clang++ --version
clang++-18 --version
ninja --version
- name: Print system information
Expand All @@ -37,7 +38,7 @@ jobs:
- name: Build & run CText flow
run: |
mkdir cmake-build-debug && cd cmake-build-debug
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_C_COMPILER=clang-18
export TESTS_BOT_TOKEN=${{ secrets.TESTS_BOT_TOKEN }}
ninja tests/all -j$(sysctl -n hw.logicalcpu)
ninja test

0 comments on commit bcddea8

Please sign in to comment.