Skip to content

Commit 806edbf

Browse files
committed
ci(rust): avoid all-features on windows to keep optional deps buildable
1 parent 27bea2a commit 806edbf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci-rust.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ jobs:
7676
ort-version: ${{ env.ORT_VERSION }}
7777

7878
- name: Run unit tests
79-
run: cargo test --workspace --exclude kreuzberg-e2e-generator --all-features
79+
run: |
80+
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
81+
cargo test --workspace --exclude kreuzberg-e2e-generator --no-default-features --features "full,server,cli"
82+
else
83+
cargo test --workspace --exclude kreuzberg-e2e-generator --all-features
84+
fi
8085
shell: bash
8186

8287
- name: Cleanup Rust cache

0 commit comments

Comments
 (0)