-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go back to rust-cache to cache more stuff, maybe fix cross-compiled t…
…ests
- Loading branch information
Showing
2 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,20 +32,25 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install cross-compilation tools | ||
uses: taiki-e/setup-cross-toolchain-action@v1 | ||
|
||
- uses: rui314/setup-mold@v1 | ||
|
||
- name: Install Rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: ${{ env.rust_stable }} | ||
target: ${{ matrix.target }} | ||
# if: startsWith(matrix.os, 'ubuntu') | ||
|
||
- uses: rui314/setup-mold@v1 | ||
|
||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Install latest nextest release | ||
uses: taiki-e/install-action@nextest | ||
- name: Install cargo-nextest | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: cargo-nextest | ||
|
||
- uses: taiki-e/setup-cross-toolchain-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Test with latest nextest release | ||
run: cargo nextest run --workspace --target ${{ matrix.target }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,16 +39,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install cross-compilation tools | ||
uses: taiki-e/setup-cross-toolchain-action@v1 | ||
- uses: rui314/setup-mold@v1 | ||
|
||
- uses: taiki-e/setup-cross-toolchain-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
if: startsWith(matrix.os, 'ubuntu') | ||
|
||
- uses: rui314/setup-mold@v1 | ||
|
||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- uses: taiki-e/upload-rust-binary-action@v1 | ||
with: | ||
|