Skip to content

Commit

Permalink
Install prebuilt uniffi-bindgen binary from PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 13, 2022
1 parent f9aef92 commit 0a2df0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ build_and_test: &BUILD_AND_TEST
- rustup target add wasm32-wasi
- python3 -m pip install --upgrade cffi virtualenv
build_script:
- cargo install uniffi_bindgen
- cargo build
test_script:
- cargo test
Expand Down Expand Up @@ -54,6 +53,7 @@ macos_arm64_task:
- cat Cargo.lock
install_script:
- brew install python3
- python3 -m pip install uniffi-bindgen
<<: *BUILD_AND_TEST

linux_aarch64_task:
Expand All @@ -74,4 +74,6 @@ linux_aarch64_task:
fingerprint_script:
- echo $CIRRUS_OS
- cat Cargo.lock
install_script:
- python3 -m pip install uniffi-bindgen
<<: *BUILD_AND_TEST
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,13 @@ jobs:
if: ${{ !contains(matrix.python-version, 'pypy') }}
run: pip install cffi
- name: Install python packages
run: pip install virtualenv ziglang~=0.10.0 twine
run: pip install virtualenv ziglang~=0.10.0 twine uniffi-bindgen
- uses: dtolnay/rust-toolchain@stable
id: rustup
with:
targets: wasm32-wasi # Additional target
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
- name: Install uniffi_bindgen
run: cargo install uniffi_bindgen
- name: Install aarch64-apple-darwin Rust target
if: matrix.os == 'macos-latest'
run: rustup target add aarch64-apple-darwin
Expand Down

0 comments on commit 0a2df0e

Please sign in to comment.