From 8aeef686984050b38e8036ce93fba7fcf71fc5f1 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Sat, 14 Sep 2024 20:10:43 -0500 Subject: [PATCH] Link HOMEBREW_CELLAR to /usr/local/Cellar --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d2b76f..eaf836f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,12 @@ jobs: - name: Install compiler tools on macOS 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" @@ -66,6 +71,8 @@ jobs: env | grep HOMEBREW + ls -lhtra /usr/local/Cellar + - name: Install package run: | echo "PATH: $PATH"