Skip to content

Commit

Permalink
Split checking out rust-sdk and building to support the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Jan 10, 2024
1 parent ecf1586 commit b20f156
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Checkout matrix-rust-sdk
run: |
mkdir rust-sdk
(wget -O - "https://github.com/matrix-org/matrix-rust-sdk/archive/kegan/complement-crypto.tar.gz" | tar -xz --strip-components=1 -C rust-sdk)
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust-sdk"
Expand All @@ -48,8 +52,6 @@ jobs:
- name: Build Rust FFI bindings
run: |
mkdir rust-sdk
(wget -O - "https://github.com/matrix-org/matrix-rust-sdk/archive/kegan/complement-crypto.tar.gz" | tar -xz --strip-components=1 -C rust-sdk)
(cd rust-sdk && cargo build -p matrix-sdk-ffi)
ls -alh rust-sdk/target/debug
Expand Down

0 comments on commit b20f156

Please sign in to comment.