Skip to content

Commit

Permalink
chore: disable building libpact_ffi-linux-aarch64-musl.a in release
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jan 20, 2024
1 parent 80a62d3 commit 1575172
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/pact_ffi/release-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ gzip -c ../target/x86_64-unknown-linux-musl/release/libpact_ffi.a > ../release_a
openssl dgst -sha256 -r ../release_artifacts/libpact_ffi-linux-x86_64-musl.a.gz > ../release_artifacts/libpact_ffi-linux-x86_64-musl.a.gz.sha256

cargo install cross@0.2.5
echo -- Build the musl aarch64 release artifacts --
cross build --release --target=aarch64-unknown-linux-musl
gzip -c ../target/aarch64-unknown-linux-musl/release/libpact_ffi.a > ../target/artifacts/libpact_ffi-linux-aarch64-musl.a.gz
openssl dgst -sha256 -r ../target/artifacts/libpact_ffi-linux-aarch64-musl.a.gz > ../target/artifacts/libpact_ffi-linux-aarch64-musl.a.gz.sha256
#echo -- Build the musl aarch64 release artifacts --
#cross build --release --target=aarch64-unknown-linux-musl
#gzip -c ../target/aarch64-unknown-linux-musl/release/libpact_ffi.a > ../target/artifacts/libpact_ffi-linux-aarch64-musl.a.gz
#openssl dgst -sha256 -r ../target/artifacts/libpact_ffi-linux-aarch64-musl.a.gz > ../target/artifacts/libpact_ffi-linux-aarch64-musl.a.gz.sha256

echo -- Build the aarch64 release artifacts --
cargo clean
Expand Down

0 comments on commit 1575172

Please sign in to comment.