ci: check linux only (windows needs MSVC tools, covered by build job)

pull/2/head
jackwener 2026-04-16 23:42:31 +08:00
parent 2170db93eb
commit a2239c0dca
1 changed files with 3 additions and 5 deletions

View File

@ -13,12 +13,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
with: with:
targets: x86_64-pc-windows-msvc,x86_64-unknown-linux-gnu targets: x86_64-unknown-linux-gnu
- name: cargo check all targets - name: cargo check linux target
run: | run: cargo check --target x86_64-unknown-linux-gnu
cargo check --target x86_64-unknown-linux-gnu
cargo check --target x86_64-pc-windows-msvc
build: build:
needs: check needs: check