mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 08:42:01 +00:00
Add some rust caching to CI (#13735)
This commit is contained in:
parent
c46fecd1f2
commit
dc0e896b68
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@ -144,6 +144,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
# There aren't wheels for some of the older deps, so we need to install
|
# There aren't wheels for some of the older deps, so we need to install
|
||||||
# their build dependencies
|
# their build dependencies
|
||||||
@ -253,11 +254,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Prepare test blacklist
|
- name: Prepare test blacklist
|
||||||
run: cat sytest-blacklist .ci/worker-blacklist > synapse-blacklist-with-workers
|
run: cat sytest-blacklist .ci/worker-blacklist > synapse-blacklist-with-workers
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Run SyTest
|
- name: Run SyTest
|
||||||
run: /bootstrap.sh synapse
|
run: /bootstrap.sh synapse
|
||||||
working-directory: /src
|
working-directory: /src
|
||||||
@ -369,6 +373,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Prepare Complement's Prerequisites
|
- name: Prepare Complement's Prerequisites
|
||||||
run: synapse/.ci/scripts/setup_complement_prerequisites.sh
|
run: synapse/.ci/scripts/setup_complement_prerequisites.sh
|
||||||
|
1
changelog.d/13735.misc
Normal file
1
changelog.d/13735.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Add a stub Rust crate.
|
Loading…
Reference in New Issue
Block a user