Skip to content

Commit

Permalink
fix(ci): move addition of brew libs to other step (#5220)
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej authored Nov 6, 2024
2 parents 164db65 + 8e43f33 commit af3dfdf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,6 @@ jobs:
echo "${LLVM_DIR}/bin" >> $GITHUB_PATH
env:
LLVM_DIR: .llvm
- name: Add `brew` libs to `RUSTFLAGS`
if: matrix.metadata.os == 'macos-14'
shell: bash
run: |
echo "RUSTFLAGS=-L/opt/homebrew/lib" >> $GITHUB_ENV
- name: Configure LLVM (Windows)
# The Custom Windows build does not contains llvm-config.exe, so need to setup manualy here
if: startsWith(matrix.build, 'windows-x64') && matrix.llvm_url
Expand All @@ -286,6 +281,10 @@ jobs:
echo LLVM_ENABLE=1 >> $GITHUB_ENV
env:
LLVM_DIR: .llvm
- name: Add `brew` libraries (Apple Silicon)
run: |
echo "RUSTFLAGS=-L/opt/homebrew/lib" >> $GITHUB_ENV
if: matrix.os == 'macos-14'
- name: Set up dependencies for Mac OS
run: |
brew install automake
Expand Down

0 comments on commit af3dfdf

Please sign in to comment.