Skip to content

Commit

Permalink
Move uniffi install to when we need it, not when downloading in case …
Browse files Browse the repository at this point in the history
…we don't download
  • Loading branch information
kegsay committed May 13, 2024
1 parent d276300 commit d1410ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/single_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,14 @@ jobs:
RUST_SDK: ${{ inputs.use_rust_sdk }} # TODO: allow custom forks
run: |
cd complement-crypto
./install_uniffi_bindgen_go.sh
mkdir rust-sdk # don't use HTTPS path in rebuild_rust_sdk.sh so we can use the rust-cache before building
(wget -O - "https://github.com/matrix-org/matrix-rust-sdk/archive/$RUST_SDK.tar.gz" | tar -xz --strip-components=1 -C rust-sdk)
- name: Build Rust SDK
if: ${{ inputs.use_rust_sdk != '' }}
env:
RUST_SDK_DIR: ${{ inputs.use_rust_sdk == '.' && '..' || './rust-sdk' }}
run: |
cd complement-crypto && ./rebuild_rust_sdk.sh $RUST_SDK_DIR
cd complement-crypto && ./install_uniffi_bindgen_go.sh && ./rebuild_rust_sdk.sh $RUST_SDK_DIR
- name: Build RPC client (rust)
if: ${{ inputs.use_rust_sdk != '' }}
Expand Down

0 comments on commit d1410ce

Please sign in to comment.