Skip to content

Commit 80ac719

Browse files
committed
Additionally check the x86_64-unknown-linux-musl target in CI
1 parent 65bd430 commit 80ac719

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,28 @@ jobs:
2525
check:
2626
name: Check
2727
strategy:
28+
fail-fast: false
2829
matrix:
29-
os: ["macos-12", "ubuntu-22.04", "windows-2022"]
30-
runs-on: ${{ matrix.os }}
30+
platform:
31+
- os: "macos-12"
32+
target: "x86_64-apple-darwin"
33+
- os: "ubuntu-22.04"
34+
target: "x86_64-unknown-linux-gnu"
35+
- os: "ubuntu-22.04"
36+
target: "x86_64-unknown-linux-musl"
37+
- os: "windows-2022"
38+
target: "x86_64-pc-windows-msvc"
39+
runs-on: ${{ matrix.platform.os }}
3140

3241
steps:
3342
- name: Install dependencies
34-
if: matrix.os == 'ubuntu-22.04'
43+
if: matrix.platform.os == 'ubuntu-22.04'
3544
run: sudo apt-get install musl-tools libudev-dev
3645

3746
- uses: actions/checkout@v3
3847
- uses: dtolnay/rust-toolchain@stable
48+
with:
49+
targets: ${{ matrix.platform.target }}
3950
- uses: Swatinem/rust-cache@v2
4051

4152
- run: cargo check

0 commit comments

Comments
 (0)