Skip to content

Commit

Permalink
Try eval of brew shellenv
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 15, 2024
1 parent 0381eb4 commit 4573aec
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ jobs:
if: runner.os == 'macOS'
shell: bash
run: |
if [ ! -z "${HOMEBREW_CELLAR}" ]; then
# HOMEBREW_CELLAR set for macos-14 but not macos-13
ln -s "${HOMEBREW_CELLAR}" /usr/local/Cellar
fi
brew install make automake swig gmp mpfr boost cgal libtool
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
- name: Install extra deps on Linux
if: runner.os == 'Linux'
Expand All @@ -71,10 +66,14 @@ jobs:
env | grep HOMEBREW
ls -lhtra /usr/local/Cellar
brew shellenv
eval $(brew shellenv)
env | grep HOMEBREW
- name: Install package
run: |
eval $(brew shellenv)
echo "PATH: $PATH"
export CXX=$(command -v clang++)
echo "CXX: $CXX"
Expand Down

0 comments on commit 4573aec

Please sign in to comment.