Skip to content

Commit 8465f45

Browse files
committed
Chore: dont use env var for exclusions
1 parent f8caca6 commit 8465f45

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ jobs:
1919
name: Rust ${{ matrix.rust }} on ${{ matrix.os }}
2020
runs-on: ${{ matrix.os }}
2121
env:
22-
# Temporarily exclude crates that rely on OptiX until we merge the rewritten optix because of bindings weirdness
23-
# Also exclude add until we figure out the right way to auto-add libnvvm to path.
2422
LLVM_LINK_STATIC: 1
25-
EXCLUDE_ARGS: --exclude "optix" --exclude "optix_sys" --exclude "path_tracer" --exclude "denoiser" --exclude "add"
2623
strategy:
2724
fail-fast: false
2825
matrix:
@@ -67,7 +64,7 @@ jobs:
6764
run: cargo fmt --all -- --check
6865

6966
- name: Build
70-
run: eval("cargo build --workspace ${EXCLUDE_ARGS}")
67+
run: cargo build --workspace --exclude "optix" --exclude "optix_sys" --exclude "path_tracer" --exclude "denoiser" --exclude "add"
7168

7269
# Don't currently test because many tests rely on the system having a CUDA GPU
7370
# - name: Test
@@ -77,9 +74,9 @@ jobs:
7774
if: contains(matrix.os, 'ubuntu')
7875
env:
7976
RUSTFLAGS: -Dwarnings
80-
run: eval("cargo clippy --workspace ${EXCLUDE_ARGS}")
77+
run: cargo clippy --workspace --exclude "optix" --exclude "optix_sys" --exclude "path_tracer" --exclude "denoiser" --exclude "add"
8178

8279
- name: Check documentation
8380
env:
8481
RUSTDOCFLAGS: -Dwarnings
85-
run: eval("cargo doc --workspace --all-features --document-private-items --no-deps ${EXCLUDE_ARGS}")
82+
run: \cargo doc --workspace --all-features --document-private-items --no-deps --exclude "optix" --exclude "optix_sys" --exclude "path_tracer" --exclude "denoiser" --exclude "add"

0 commit comments

Comments
 (0)