Skip to content

Commit

Permalink
m1 homebrew different dir
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Dec 10, 2024
1 parent 96bef73 commit 050f2ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,17 @@ jobs:
with:
version: "16.0"
- name: Install LLVM and Clang (macOS)
if : matrix.os == 'macos-13' || matrix.os == 'macos-latest'
if : matrix.os == 'macos-13'
run: |
brew install llvm@16
echo "LLVM_SYS_160_PREFIX=/usr/local/opt/llvm@16" >> $GITHUB_ENV
echo "LLVM_DIR=/usr/local/opt/llvm@16" >> $GITHUB_ENV
- name: Install LLVM and Clang (macOS M1)
if : matrix.os == 'macos-latest'
run: |
brew install llvm@16
echo "LLVM_SYS_160_PREFIX=/opt/homebrew/Cellar/llvm@16" >> $GITHUB_ENV
echo "LLVM_DIR=/opt/homebrew/Cellar/llvm@16" >> $GITHUB_ENV
- name: Set features variable and install dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
Expand Down

0 comments on commit 050f2ba

Please sign in to comment.