Skip to content

Commit 1276b5d

Browse files
ci: run on all os
1 parent 44c6cbb commit 1276b5d

File tree

2 files changed

+30
-14
lines changed

2 files changed

+30
-14
lines changed

.github/workflows/ci.yaml

-12
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,3 @@ jobs:
311311
- uses: actions/checkout@v4
312312
- run: pip install --user codespell[toml]
313313
- run: codespell --ignore-words-list=ans,atmost,crate,inout,ratatui,ser,stayin,swarmin,worl --skip=CHANGELOG.md
314-
315-
316-
minimal-crates:
317-
runs-on: [self-hosted, linux, X64]
318-
steps:
319-
- uses: actions/checkout@v2
320-
- uses: dtolnay/rust-toolchain@nightly
321-
- uses: swatinem/rust-cache@v2
322-
- name: cargo check
323-
run: |
324-
rm -f Cargo.lock
325-
cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins

.github/workflows/tests.yaml

+30-2
Original file line numberDiff line numberDiff line change
@@ -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@v4
@@ -233,3 +233,31 @@ jobs:
233233
path: output
234234
retention-days: 1
235235
compression-level: 0
236+
minimal-crates:
237+
runs-on: ${{ matrix.runner }}
238+
strategy:
239+
fail-fast: false
240+
matrix:
241+
name: [windows-latest, ubuntu-latest, macOS-arm-latest]
242+
include:
243+
- name: ubuntu-latest
244+
os: ubuntu-latest
245+
release-os: linux
246+
release-arch: amd64
247+
runner: [self-hosted, linux, X64]
248+
- name: macOS-arm-latest
249+
os: macOS-latest
250+
release-os: darwin
251+
release-arch: aarch64
252+
runner: [self-hosted, macOS, ARM64]
253+
- name: windows-latest
254+
os: windows
255+
runner: [self-hosted, windows, x64]
256+
steps:
257+
- uses: actions/checkout@v2
258+
- uses: dtolnay/rust-toolchain@nightly
259+
- uses: swatinem/rust-cache@v2
260+
- name: cargo check
261+
run: |
262+
rm -f Cargo.lock
263+
cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins

0 commit comments

Comments
 (0)