Skip to content

Commit

Permalink
chore: Use cross from GitHub for building aarch64 target for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Nov 8, 2023
1 parent 12c98c5 commit 0212f56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ case "$1" in
openssl dgst -sha256 -r target/artifacts/install-plugin.sh > target/artifacts/install-plugin.sh.sha256

# Build aarch64
rustup toolchain install 1.69
cargo install cross
rustup run 1.69 cross build --target aarch64-unknown-linux-gnu --release
cargo install cross --git https://github.com/cross-rs/cross
cross build --target aarch64-unknown-linux-gnu --release
gzip -c target/aarch64-unknown-linux-gnu/release/pact-protobuf-plugin > target/artifacts/pact-protobuf-plugin-linux-aarch64.gz
openssl dgst -sha256 -r target/artifacts/pact-protobuf-plugin-linux-aarch64.gz > target/artifacts/pact-protobuf-plugin-linux-aarch64.gz.sha256
;;
Expand Down

0 comments on commit 0212f56

Please sign in to comment.