From ca97f7ac7b5aac13c28d73c8909b4172dd774322 Mon Sep 17 00:00:00 2001 From: Hoyt Koepke Date: Mon, 6 May 2024 13:32:22 -0700 Subject: [PATCH] Update to reflect homebrew path. --- .github/workflows/commit.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index b23a584..5e9d581 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -35,17 +35,13 @@ jobs: if: runner.os == 'macOS' run: | brew install make - export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" + export PATH="$(dirname $(dirname $(which gmake)))/opt/make/libexec/gnubin:$PATH" export MAKE="$(which gmake)" export CXXFLAGS="-stdlib=libc++" cd python/pyxet rustup target add x86_64-apple-darwin rustup target add aarch64-apple-darwin - # These need to be built first for the compilation to work. - cargo build --release --target=x86_64-apple-darwin -j 1 -p openssl - cargo build --release --target=aarch64-apple-darwin -j 1 -p openssl - maturin build --target universal2-apple-darwin - name: Unit and integration tests (non-Windows) if: runner.os != 'Windows'