Skip to content

Commit

Permalink
wip3
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaveas committed Jun 4, 2024
1 parent adc1f47 commit 41f9144
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-docker-image-and-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,25 +74,19 @@ jobs:
export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
export LD_LIBRARY_PATH=/opt/homebrew/lib:$LD_LIBRARY_PATH
# brew uninstall --ignore-dependencies gmp
mkdir -p tofndbin
if [ "$ARCH" == "arm64" ]
then
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
mv /Users/runner/work/tofnd/tofnd/target/aarch64-apple-darwin/release/tofnd "./tofndbin/tofnd-$OS-$ARCH-$SEMVER"
else
# export RUSTFLAGS="-L/opt/homebrew/lib"
# export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH
# export CPLUS_INCLUDE_PATH=/opt/homebrew/include:$CPLUS_INCLUDE_PATH
# ARM_DEPENDENCY=$(brew fetch --force --bottle-tag=arm64_sonoma gmp | grep Downloaded | awk '{print $3}')
# brew install "$ARM_DEPENDENCY"
cargo install --locked --path .
mv "/Users/runner/work/tofnd/tofnd/target/release/tofnd" "./tofndbin/tofnd-$OS-$ARCH-$SEMVER"
fi
- name: build linux binaries
Expand Down

0 comments on commit 41f9144

Please sign in to comment.