@@ -111,7 +111,7 @@ jobs:
111111 - name : list ignored tests
112112 run : |
113113 cargo nextest list --workspace ${{ env.FEATURES }} --lib --bins --tests --run-ignored ignored-only
114- env :
114+ env :
115115 NEXTEST_NO_TESTS : " pass"
116116
117117 - name : run tests
@@ -224,7 +224,7 @@ jobs:
224224 RUST_LOG : ${{ runner.debug && 'TRACE' || 'DEBUG'}}
225225 NEXTEST_EXPERIMENTAL_LIBTEST_JSON : 1
226226 NEXTEST_NO_TESTS : " pass"
227-
227+
228228 - name : upload results
229229 if : ${{ failure() && inputs.flaky }}
230230 uses : actions/upload-artifact@v6
@@ -233,3 +233,71 @@ jobs:
233233 path : output
234234 retention-days : 1
235235 compression-level : 0
236+
237+ minimal-crates :
238+ runs-on : ${{ matrix.runner }}
239+ strategy :
240+ fail-fast : false
241+ matrix :
242+ name : [ubuntu-latest, macOS-arm-latest] # TODO: windows
243+ include :
244+ - name : ubuntu-latest
245+ os : ubuntu-latest
246+ release-os : linux
247+ release-arch : amd64
248+ runner : [self-hosted, linux, X64]
249+ - name : macOS-arm-latest
250+ os : macOS-latest
251+ release-os : darwin
252+ release-arch : aarch64
253+ runner : [self-hosted, macOS, ARM64]
254+ steps :
255+ - uses : actions/checkout@v6
256+ - uses : dtolnay/rust-toolchain@nightly
257+ - name : cargo check
258+ run : |
259+ rm -f Cargo.lock
260+ cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins
261+
262+ minimal-crates-windows :
263+ timeout-minutes : 30
264+ name : " Minimal Crates (Windows)"
265+ runs-on : ${{ matrix.runner }}
266+ strategy :
267+ fail-fast : false
268+ matrix :
269+ name : [windows-latest]
270+ rust : ["${{ inputs.rust-version}}"]
271+ target :
272+ - x86_64-pc-windows-msvc
273+ include :
274+ - name : windows-latest
275+ os : windows
276+ runner : [self-hosted, windows, x64]
277+ env :
278+ # Using self-hosted runners so use local cache for sccache and
279+ # not SCCACHE_GHA_ENABLED.
280+ RUSTC_WRAPPER : " sccache"
281+ steps :
282+ - name : Checkout
283+ uses : actions/checkout@v6
284+ with :
285+ ref : ${{ inputs.git-ref }}
286+
287+ - name : Install Rust nightly
288+ run : |
289+ rustup toolchain install nightly
290+ rustup target add ${{ matrix.target }}
291+ rustup set default-host ${{ matrix.target }}
292+
293+ - name : Install sccache
294+ uses : mozilla-actions/sccache-action@v0.0.9
295+
296+ - uses : msys2/setup-msys2@v2
297+ with :
298+ release : false
299+
300+ - name : cargo check
301+ run : |
302+ rm -Force Cargo.lock
303+ cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins
0 commit comments