Skip to content

Commit 0964030

Browse files
ci: minimal crates on all platforms
1 parent b6be683 commit 0964030

2 files changed

Lines changed: 29 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,3 @@ jobs:
344344
- uses: actions/checkout@v4
345345
- run: pip install --user codespell[toml]
346346
- run: codespell --ignore-words-list=ans,atmost,crate,inout,ratatui,ser,stayin,swarmin,worl --skip=CHANGELOG.md
347-
348-
minimal-crates:
349-
runs-on: [self-hosted, linux, X64]
350-
steps:
351-
- uses: actions/checkout@v2
352-
- uses: dtolnay/rust-toolchain@nightly
353-
- uses: swatinem/rust-cache@v2
354-
- name: cargo check
355-
run: |
356-
rm -f Cargo.lock
357-
cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins

.github/workflows/tests.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,32 @@ jobs:
236236
path: output
237237
retention-days: 1
238238
compression-level: 0
239+
240+
minimal-crates:
241+
runs-on: ${{ matrix.runner }}
242+
strategy:
243+
fail-fast: false
244+
matrix:
245+
name: [windows-latest, ubuntu-latest, macOS-arm-latest]
246+
include:
247+
- name: ubuntu-latest
248+
os: ubuntu-latest
249+
release-os: linux
250+
release-arch: amd64
251+
runner: [self-hosted, linux, X64]
252+
- name: macOS-arm-latest
253+
os: macOS-latest
254+
release-os: darwin
255+
release-arch: aarch64
256+
runner: [self-hosted, macOS, ARM64]
257+
- name: windows-latest
258+
os: windows
259+
runner: [self-hosted, windows, x64]
260+
steps:
261+
- uses: actions/checkout@v2
262+
- uses: dtolnay/rust-toolchain@nightly
263+
- uses: swatinem/rust-cache@v2
264+
- name: cargo check
265+
run: |
266+
rm -f Cargo.lock
267+
cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins

0 commit comments

Comments
 (0)