summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-07-11 11:28:11 +0800
committerGitHub <noreply@github.com>2024-07-10 20:28:11 -0700
commit49c56d742be12a8477eb7d6e2ffb637a6a153482 (patch)
treed18c41f24b971ab8249fa7995f71d29a0c3e1c34 /.github/workflows/ci.yml
parentcc86174e079210bcea6021e0ad90ba80dbf4e929 (diff)
Make ci scripts more robust (#4608)
* Remove syntax error in release script * Make ci scripts more robust * Remove lib copying * Add bin directory to RPATH
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 88ce31828..cdf315d8e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -90,8 +90,8 @@ jobs:
# Configure, pointing to our just-generated slang-llvm archive
cmake --preset default --fresh \
-DSLANG_SLANG_LLVM_FLAVOR=FETCH_BINARY \
- -DSLANG_SLANG_LLVM_BINARY_URL=$(pwd)/build/dist-release/slang-llvm.zip \
- -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}}
+ "-DSLANG_SLANG_LLVM_BINARY_URL=$(pwd)/build/dist-release/slang-llvm.zip" \
+ "-DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}}"
cmake --workflow --preset "${{matrix.config}}"
else
# Otherwise, use the system llvm we have just build or got from the
@@ -107,13 +107,13 @@ jobs:
export SLANG_USE_SPV_SOURCE_LANGUAGE_UNKNOWN=1
failed=0
if [[ "${{matrix.full-gpu-tests}}" == "true" ]]; then
- $bin_dir/slang-test \
+ "$bin_dir/slang-test" \
-use-test-server \
-server-count 8 \
-category ${{ matrix.test-category }} \
-api all-cpu ||
failed=1
- $bin_dir/slang-test \
+ "$bin_dir/slang-test" \
-use-test-server \
-server-count 8 \
-emit-spirv-via-glsl \
@@ -122,7 +122,7 @@ jobs:
-expected-failure-list tests/expected-failure.txt ||
failed=1
else
- $bin_dir/slang-test \
+ "$bin_dir/slang-test" \
-use-test-server \
-api all-dx12 \
-category ${{ matrix.test-category }} \