7474 run : rustup component add clippy
7575
7676 - name : Run clippy
77- run : cargo clippy --workspace --all-targets -- -D warnings
77+ run : cargo clippy --workspace --all-targets --features llvm -- -D warnings
7878
7979 rust-lint-no-llvm :
8080 runs-on : ubuntu-latest
@@ -245,11 +245,11 @@ jobs:
245245
246246 echo "RUSTFLAGS: $RUSTFLAGS"
247247
248- cargo test --no-run
248+ cargo test --no-run --features llvm
249249
250250 - name : Compile tests (Linux/Windows)
251251 if : matrix.os != 'macos-latest'
252- run : cargo test --no-run
252+ run : cargo test --no-run --features llvm
253253
254254 - name : Run tests (macOS)
255255 if : matrix.os == 'macos-latest'
@@ -264,7 +264,7 @@ jobs:
264264 unset PKG_CONFIG_PATH
265265 export LIBRARY_PATH=/usr/lib
266266
267- cargo test --workspace
267+ cargo test --workspace --features llvm
268268
269269 - name : Run tests (Linux)
270270 if : matrix.os == 'ubuntu-latest'
@@ -274,13 +274,13 @@ jobs:
274274 if : matrix.os == 'windows-latest'
275275 run : |
276276 # Run all non-doctest tests
277- cargo test --workspace --exclude pecos-rslib --lib --bins --tests --examples
277+ cargo test --workspace --features llvm -- exclude pecos-rslib --lib --bins --tests --examples
278278
279279 # For Windows, we need to run doctests for the pecos crate specially
280280 # to ensure they run from the crate directory
281281 cd crates/pecos
282- cargo test --doc
282+ cargo test --doc --features llvm
283283 cd ../..
284284
285285 # Run doctests for other crates normally
286- cargo test --workspace --exclude pecos-rslib --exclude pecos --doc
286+ cargo test --workspace --features llvm -- exclude pecos-rslib --exclude pecos --doc
0 commit comments