File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,28 @@ jobs:
25
25
check :
26
26
name : Check
27
27
strategy :
28
+ fail-fast : false
28
29
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 }}
31
40
32
41
steps :
33
42
- name : Install dependencies
34
- if : matrix.os == 'ubuntu-22.04'
43
+ if : matrix.platform. os == 'ubuntu-22.04'
35
44
run : sudo apt-get install musl-tools libudev-dev
36
45
37
46
- uses : actions/checkout@v3
38
47
- uses : dtolnay/rust-toolchain@stable
48
+ with :
49
+ targets : ${{ matrix.platform.target }}
39
50
- uses : Swatinem/rust-cache@v2
40
51
41
52
- run : cargo check
You can’t perform that action at this time.
0 commit comments