From d3895441d34dd1f11f887ff61442594e73a1b660 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Mon, 1 May 2023 11:13:26 -0500 Subject: [PATCH] Update bdk-swift/build-local-swift.sh for aarch64-apple-ios-sim to use release-smaller profile --- .github/workflows/test-swift.yaml | 2 +- bdk-swift/build-local-swift.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-swift.yaml b/.github/workflows/test-swift.yaml index 7056b5d..23e9e8c 100644 --- a/.github/workflows/test-swift.yaml +++ b/.github/workflows/test-swift.yaml @@ -36,7 +36,7 @@ jobs: - name: Build bdk-ffi for aarch64-apple-darwin run: cargo build --package bdk-ffi --profile release-smaller --target aarch64-apple-darwin - - name: Create lipo-ios-sim and lipo-macos + - name: Create lipo-macos run: | mkdir -p target/lipo-macos/release-smaller lipo target/aarch64-apple-darwin/release-smaller/libbdkffi.a target/x86_64-apple-darwin/release-smaller/libbdkffi.a -create -output target/lipo-macos/release-smaller/libbdkffi.a diff --git a/bdk-swift/build-local-swift.sh b/bdk-swift/build-local-swift.sh index eacc6ad..55239e7 100755 --- a/bdk-swift/build-local-swift.sh +++ b/bdk-swift/build-local-swift.sh @@ -20,10 +20,10 @@ cargo build --package bdk-ffi --profile release-smaller --target x86_64-apple-da cargo build --package bdk-ffi --profile release-smaller --target aarch64-apple-darwin cargo build --package bdk-ffi --profile release-smaller --target x86_64-apple-ios cargo build --package bdk-ffi --profile release-smaller --target aarch64-apple-ios -cargo +nightly-2023-04-10 build --package bdk-ffi --release --target aarch64-apple-ios-sim +cargo +nightly-2023-04-10 build --package bdk-ffi --profile release-smaller --target aarch64-apple-ios-sim mkdir -p target/lipo-ios-sim/release-smaller -lipo target/aarch64-apple-ios-sim/release/libbdkffi.a target/x86_64-apple-ios/release-smaller/libbdkffi.a -create -output target/lipo-ios-sim/release-smaller/libbdkffi.a +lipo target/aarch64-apple-ios-sim/release-smaller/libbdkffi.a target/x86_64-apple-ios/release-smaller/libbdkffi.a -create -output target/lipo-ios-sim/release-smaller/libbdkffi.a mkdir -p target/lipo-macos/release-smaller lipo target/aarch64-apple-darwin/release-smaller/libbdkffi.a target/x86_64-apple-darwin/release-smaller/libbdkffi.a -create -output target/lipo-macos/release-smaller/libbdkffi.a