fix: set rust compiler version before running cargo commands in python
This commit is contained in:
parent
d4736a64d1
commit
431ab90f04
@ -6,10 +6,10 @@ ${PYBIN}/pip install -r requirements.txt
|
|||||||
|
|
||||||
echo "Generating bdk.py..."
|
echo "Generating bdk.py..."
|
||||||
cd ../bdk-ffi/
|
cd ../bdk-ffi/
|
||||||
|
rustup default 1.77.1
|
||||||
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
||||||
|
|
||||||
echo "Generating native binaries..."
|
echo "Generating native binaries..."
|
||||||
rustup default 1.77.1
|
|
||||||
cargo build --profile release-smaller
|
cargo build --profile release-smaller
|
||||||
|
|
||||||
echo "Copying linux libbdkffi.so..."
|
echo "Copying linux libbdkffi.so..."
|
||||||
|
@ -6,10 +6,10 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
echo "Generating bdk.py..."
|
echo "Generating bdk.py..."
|
||||||
cd ../bdk-ffi/
|
cd ../bdk-ffi/
|
||||||
|
rustup default 1.77.1
|
||||||
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
||||||
|
|
||||||
echo "Generating native binaries..."
|
echo "Generating native binaries..."
|
||||||
rustup default 1.77.1
|
|
||||||
rustup target add aarch64-apple-darwin
|
rustup target add aarch64-apple-darwin
|
||||||
cargo build --profile release-smaller --target aarch64-apple-darwin
|
cargo build --profile release-smaller --target aarch64-apple-darwin
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
echo "Generating bdk.py..."
|
echo "Generating bdk.py..."
|
||||||
cd ../bdk-ffi/
|
cd ../bdk-ffi/
|
||||||
|
rustup default 1.77.1
|
||||||
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
||||||
|
|
||||||
echo "Generating native binaries..."
|
echo "Generating native binaries..."
|
||||||
rustup default 1.77.1
|
|
||||||
rustup target add x86_64-apple-darwin
|
rustup target add x86_64-apple-darwin
|
||||||
cargo build --profile release-smaller --target x86_64-apple-darwin
|
cargo build --profile release-smaller --target x86_64-apple-darwin
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
echo "Generating bdk.py..."
|
echo "Generating bdk.py..."
|
||||||
cd ../bdk-ffi/
|
cd ../bdk-ffi/
|
||||||
|
rustup default 1.77.1
|
||||||
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
|
||||||
|
|
||||||
echo "Generating native binaries..."
|
echo "Generating native binaries..."
|
||||||
rustup default 1.77.1
|
|
||||||
rustup target add x86_64-pc-windows-msvc
|
rustup target add x86_64-pc-windows-msvc
|
||||||
cargo build --profile release-smaller --target x86_64-pc-windows-msvc
|
cargo build --profile release-smaller --target x86_64-pc-windows-msvc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user