Skip to content

Commit

Permalink
Only build matrix-sdk-ffi; try to cache deps to speed up runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Nov 22, 2023
1 parent a8406fa commit 6e6a542
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ jobs:
(cd js-sdk && yarn install --frozen-lockfile && yarn build)
cp -r ./js-sdk/dist/. ./internal/api/dist
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Build Rust FFI bindings
run: |
mkdir rust-sdk
(wget -O - "https://github.com/matrix-org/matrix-rust-sdk/archive/kegan/complement-test-fork.tar.gz" | tar -xz --strip-components=1 -C rust-sdk)
(cd rust-sdk && cargo build -p matrix-sdk-crypto-ffi -p matrix-sdk-ffi)
(cd rust-sdk && cargo build -p matrix-sdk-ffi)
ls -alh rust-sdk/target/debug
# Temporary: as it takes 3m to build the complement synapse image >:(
Expand Down

0 comments on commit 6e6a542

Please sign in to comment.