Skip to content

Commit

Permalink
add llvm to path in ci (try 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
shouc authored May 27, 2024
1 parent 83a9035 commit f8f9393
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ jobs:
- name: Apple M1 setup
if: ${{ matrix.job.target == 'aarch64-apple-darwin' }}
run: |
brew install llvm@14
clang -v
brew install llvm
echo 'PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> $GITHUB_ENV
echo "AR=/usr/local/opt/llvm/bin/llvm-ar" >> $GITHUB_ENV
echo "CC=/usr/local/opt/llvm/bin/clang" >> $GITHUB_ENV
echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV
clang -v
- name: Linux ARM setup
if: ${{ matrix.job.target == 'aarch64-unknown-linux-gnu' }}
Expand Down

0 comments on commit f8f9393

Please sign in to comment.