diff --git a/.github/workflows/build-docker-image-and-binaries.yaml b/.github/workflows/build-docker-image-and-binaries.yaml index 177b5e50..85785400 100644 --- a/.github/workflows/build-docker-image-and-binaries.yaml +++ b/.github/workflows/build-docker-image-and-binaries.yaml @@ -72,15 +72,17 @@ jobs: ARCH="${{ matrix.arch }}" export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH - export HOMEBREW_NO_INSTALL_CLEANUP=TRUE export LD_LIBRARY_PATH=/opt/homebrew/lib:$LD_LIBRARY_PATH + mkdir -p tofndbin if [ "$ARCH" == "arm64" ] then - brew uninstall --ignore-dependencies gmp + export HOMEBREW_NO_INSTALL_CLEANUP=TRUE + brew uninstall --ignore-dependencies gmp ARM_DEPENDENCY=$(brew fetch --force --bottle-tag=arm64_sonoma gmp | grep Downloaded | awk '{print $3}') + rustup target add aarch64-apple-darwin cargo build --release --target aarch64-apple-darwin