Skip to content

Commit

Permalink
use correct homebrew path
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Nov 28, 2024
1 parent e5ee7fe commit 42dd41b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
runs-on: [self-hosted, macOS]
# Only run this action if we are pushing to master or the PR is labelled "macOS"
if: ${{ (github.ref == 'refs/heads/master') || contains(github.event.pull_request.labels.*.name, 'macOS') }}
defaults:
run:
shell: zsh
env:
FIREDRAKE_CI_TESTS: 1 # needed to symlink the checked out branch into the venv
OMP_NUM_THREADS: 1
Expand All @@ -37,11 +34,11 @@ jobs:
cd ..
rm -rf firedrake_venv
- name: Install Python
run: brew install [email protected] python-setuptools
run: /opt/homebrew/bin/brew install [email protected] python-setuptools
- name: Build Firedrake
run: |
cd ..
"$(brew --prefix)/bin/python3.12" \
"$(/opt/homebrew/bin/brew --prefix)/bin/python3.12" \
firedrake/scripts/firedrake-install \
--venv-name firedrake_venv \
--disable-ssh \
Expand Down

0 comments on commit 42dd41b

Please sign in to comment.