Skip to content

Commit

Permalink
feat: enable aarch64-unknown-linux-musl libpact_ffi.a
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jan 24, 2024
1 parent 1b84777 commit 8a650e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/pact_ffi/release-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ cargo build --release --target=x86_64-unknown-linux-musl
gzip -c ../target/x86_64-unknown-linux-musl/release/libpact_ffi.a > ../target/artifacts/libpact_ffi-linux-x86_64-musl.a.gz
openssl dgst -sha256 -r ../target/artifacts/libpact_ffi-linux-x86_64-musl.a.gz > ../target/artifacts/libpact_ffi-linux-x86_64-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 install cross@0.2.5
cross build --target aarch64-unknown-linux-gnu --release
Expand Down

0 comments on commit 8a650e0

Please sign in to comment.