summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a45d7647c..0949abcb7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -105,31 +105,31 @@ jobs:
run: |
export SLANG_RUN_SPIRV_VALIDATION=1
export SLANG_USE_SPV_SOURCE_LANGUAGE_UNKNOWN=1
- failed=0
if [[ "${{matrix.full-gpu-tests}}" == "true" ]]; then
"$bin_dir/slang-test" \
-use-test-server \
-server-count 8 \
-category ${{ matrix.test-category }} \
- -api all-cpu ||
- failed=1
- "$bin_dir/slang-test" \
- -use-test-server \
- -server-count 8 \
- -emit-spirv-via-glsl \
- -api vk \
- -category ${{ matrix.test-category }} \
- -expected-failure-list tests/expected-failure.txt ||
- failed=1
+ -api all-cpu
else
"$bin_dir/slang-test" \
-use-test-server \
- -api all-dx12 \
-category ${{ matrix.test-category }} \
- -expected-failure-list tests/expected-failure-github.txt ||
- failed=1
+ -api all-dx12 \
+ -expected-failure-list tests/expected-failure-github.txt
fi
- exit $failed
+ - name: Test Slang via glsl
+ if: ${{matrix.full-gpu-tests}}
+ run: |
+ export SLANG_RUN_SPIRV_VALIDATION=1
+ export SLANG_USE_SPV_SOURCE_LANGUAGE_UNKNOWN=1
+ "$bin_dir/slang-test" \
+ -use-test-server \
+ -server-count 8 \
+ -category ${{ matrix.test-category }} \
+ -emit-spirv-via-glsl \
+ -api vk \
+ -expected-failure-list tests/expected-failure.txt
- uses: actions/upload-artifact@v3
if: ${{ ! matrix.full-gpu-tests }}
with: