File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,15 +15,18 @@ jobs:
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- os : [ubuntu-24.04, macos-14, windows-2022 ]
18+ target : [x86_64-unknown-linux-musl, x86_64-pc-windows-msvc, aarch64-apple-darwin ]
1919 feature-args : ['', '-Funstable-mobile-app']
2020 include :
21- - os : ubuntu-24.04
21+ - target : x86_64-unknown-linux-musl
22+ os : ubuntu-24.04
2223 display-os : Linux
23- - os : macos-14
24- display-os : macOS
25- - os : windows-2022
24+ - target : x86_64-pc-windows-msvc
25+ os : windows-2022
2626 display-os : Windows
27+ - target : aarch64-apple-darwin
28+ os : macos-14
29+ display-os : macOS
2730 - feature-args : ' '
2831 feature-suffix : ' '
2932 - feature-args : ' -Funstable-mobile-app'
@@ -38,11 +41,14 @@ jobs:
3841 - name : Install Rust Toolchain
3942 run : rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update
4043
44+ - name : Add Target
45+ run : rustup target add ${{ matrix.target }}
46+
4147 - name : Cache Dependencies
4248 uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
4349
4450 - name : Run Rustfmt
4551 run : cargo fmt --all -- --check
4652
4753 - name : Run Clippy
48- run : cargo clippy --workspace --tests ${{ matrix.feature-args }}
54+ run : cargo clippy --workspace --tests --target ${{ matrix.target }} ${{ matrix.feature-args }}
You can’t perform that action at this time.
0 commit comments