Skip to content

Commit 762cd50

Browse files
committed
ci(rust): exclude sqlshield-py from workspace build/test
sqlshield-py is a PyO3 cdylib named `sqlshield`, which produces sqlshield.dll + sqlshield.pdb. The bare sqlshield library crate also emits a sqlshield-named PDB during workspace tests, and on Windows the parallel build hits an LNK1201 race writing the shared `.pdb` file. sqlshield-py is built and tested through its own maturin CI workflow already, so dropping it from `cargo build/test --workspace` here costs nothing and gets the Windows lane back to green.
1 parent fc407b0 commit 762cd50

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: rustfmt
2525
run: cargo fmt --all --check
2626
- name: clippy
27-
run: cargo clippy --workspace --exclude sqlshield-precommit --all-targets --all-features -- -D warnings
27+
run: cargo clippy --workspace --exclude sqlshield-precommit --exclude sqlshield-py --all-targets --all-features -- -D warnings
2828

2929
test:
3030
name: test (${{ matrix.os }} / ${{ matrix.toolchain }})
@@ -46,6 +46,6 @@ jobs:
4646
with:
4747
key: ${{ matrix.os }}-${{ matrix.toolchain }}
4848
- name: build
49-
run: cargo build --workspace --exclude sqlshield-precommit --all-targets --verbose
49+
run: cargo build --workspace --exclude sqlshield-precommit --exclude sqlshield-py --all-targets --verbose
5050
- name: test
51-
run: cargo test --workspace --exclude sqlshield-precommit --all-features --verbose
51+
run: cargo test --workspace --exclude sqlshield-precommit --exclude sqlshield-py --all-features --verbose

0 commit comments

Comments
 (0)