Skip to content

Commit

Permalink
add installing clang16 on macos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal authored Oct 10, 2023
1 parent 5fbbd54 commit 7b87f9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/macos-clang-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
runs-on: macos-latest

steps:
- name: Install clang
run: brew install llvm@16 && echo 'export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc

- name: Checkout
uses: actions/checkout@v3
with:
Expand All @@ -23,7 +26,7 @@ jobs:
run: |
cmake -B ${{github.workspace}}/build \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++
-DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm@16/bin/clang++
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

0 comments on commit 7b87f9d

Please sign in to comment.