Skip to content

Commit

Permalink
Fix macos envionment for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Nov 30, 2024
1 parent 3dd1161 commit 7055408
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ jobs:
if: startsWith(matrix.os, 'macos')
run: |
brew install llvm@19
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/runner/.envrc
echo 'export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"' >> /Users/runner/.envrc
echo 'export CPPFLAGS="-L/opt/homebrew/opt/llvm/include"' >> /Users/runner/.envrc
- name: Configure windows
if: matrix.os == 'windows-2022'
Expand All @@ -142,9 +144,12 @@ jobs:
- name: Configure macos
if: matrix.os == 'macos-15'
working-directory: asio
shell: bash
env:
CXX: /opt/homebrew/opt/llvm/bin/clang++-19
run: cmake --preset=ci-macos
CXX: clang++-19
run: |
source /Users/runner/.envrc
cmake --preset=ci-macos
- name: Configure ubuntu
if: matrix.os == 'ubuntu-24.04'
Expand Down

0 comments on commit 7055408

Please sign in to comment.