File tree Expand file tree Collapse file tree 8 files changed +8
-18
lines changed Expand file tree Collapse file tree 8 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 1616 defaults :
1717 run :
1818 working-directory : bdk-ffi
19- strategy :
20- matrix :
21- rust :
22- - version : 1.84.1
23- clippy : true
19+
2420 steps :
2521 - name : " Checkout"
2622 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 3535 with :
3636 ndk-version : r26c
3737
38- - name : " Install Rust"
39- uses : dtolnay/rust-toolchain@stable
40- with :
41- toolchain : 1.84.1
42-
4338 - name : " Cache Rust"
4439 uses : actions/cache@v4
4540 with :
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ just publishlocal
4545
4646## Minimum Supported Rust Version (MSRV)
4747
48- This library should compile with any combination of features with Rust 1.84 .1.
48+ This library should compile with any combination of features with Rust 1.85 .1.
4949
5050## Contributing
5151
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
1818
1919# Move to the Rust library directory
2020cd ../bdk-ffi/ || exit
21- rustup default 1.84.1
2221rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
2322
2423# Build the binaries
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
1818
1919# Move to the Rust library directory
2020cd ../bdk-ffi/ || exit
21- rustup default 1.84.1
2221rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
2322
2423# Build the binaries
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ RESOURCE_DIR_ARMEABI_V7A="armeabi-v7a"
1919
2020# Move to the Rust library directory
2121cd ../bdk-ffi/ || exit
22- rustup default 1.84.1
2322rustup target add $COMPILATION_TARGET_ARM64_V8A $COMPILATION_TARGET_ARMEABI_V7A $COMPILATION_TARGET_X86_64
2423
2524# Build the binaries
Original file line number Diff line number Diff line change 1+ [toolchain ]
2+ channel = " 1.85.1"
3+ components = [" clippy" , " rustfmt" ]
Original file line number Diff line number Diff line change @@ -12,17 +12,16 @@ NAME="bdkffi"
1212STATIC_LIB_NAME=" lib${NAME} .a"
1313NEW_HEADER_DIR=" ../bdk-ffi/target/include"
1414
15- # set required rust version and install component and targets
16- rustup default 1.84.1
15+ cd ../bdk-ffi/ || exit
16+
17+ # install component and targets
1718rustup component add rust-src
1819rustup target add aarch64-apple-ios # iOS arm64
1920rustup target add x86_64-apple-ios # iOS x86_64
2021rustup target add aarch64-apple-ios-sim # simulator mac M1
2122rustup target add aarch64-apple-darwin # mac M1
2223rustup target add x86_64-apple-darwin # mac x86_64
2324
24- cd ../bdk-ffi/ || exit
25-
2625# build bdk-ffi rust lib for apple targets
2726cargo build --package bdk-ffi --profile release-smaller --target x86_64-apple-darwin
2827cargo build --package bdk-ffi --profile release-smaller --target aarch64-apple-darwin
You can’t perform that action at this time.
0 commit comments