Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,13 @@ jobs:
- run: echo CARGO_BUILD_TARGET=${{ matrix.target }} >> $GITHUB_ENV
if: matrix.target != ''

- name: Set up cargo cache
uses: Swatinem/rust-cache@94b28bf00e42c2b783e7dd289d30da129b46838b
with:
shared-key: "test-${{ matrix.cache_key }}"
save-if: ${{ github.ref == 'refs/heads/main' }}
if: endsWith(matrix.cache_key, '-wasmtime-cli')

# Fix an ICE for now in gcc when compiling zstd with debuginfo (??)
- run: echo CFLAGS=-g0 >> $GITHUB_ENV
if: matrix.target == 'x86_64-pc-windows-gnu'
Expand Down
1 change: 1 addition & 0 deletions ci/build-test-matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ async function shard(configs) {
config,
{
name: `${config.name} (${Array.from(bucket).join(', ')})`,
cache_key: `${config.name}-${Array.from(bucket).join('-').substring(0, 400)}`,
// We run tests via `cargo test --workspace`, so exclude crates that
// aren't in this bucket, rather than naming only the crates that are
// in this bucket.
Expand Down