summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorcheneym2 <acheney@nvidia.com>2025-03-06 19:06:58 -0500
committerGitHub <noreply@github.com>2025-03-07 00:06:58 +0000
commit0ca1d7af62bb5a59347441ed2b0eb8e83791fb42 (patch)
tree7fd833ed6ab166df83f3db81c7a3a6a55133162a /.github/workflows
parent4485cf3eaf142cfd5f8470e86739acc67d4e12ea (diff)
Show adapter info in slang-test CI runs (#6535)
It might be beneficial for debugging issues to know what graphics adapters are in use for CI runs. It is also helpful to ensure the -show-adapter-info option in slang-test doesn't bitrot.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 27e255372..7a496287b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -169,7 +169,8 @@ jobs:
-server-count 8 \
-category ${{ matrix.test-category }} \
-api all-cpu \
- -expected-failure-list tests/expected-failure-github.txt
+ -expected-failure-list tests/expected-failure-github.txt \
+ -show-adapter-info
elif [[ "${{matrix.has-gpu}}" == "true" ]]; then
"$bin_dir/slang-test" \
-use-test-server \
@@ -177,7 +178,8 @@ jobs:
-api all-dx12 \
-expected-failure-list tests/expected-failure-github.txt \
-expected-failure-list tests/expected-failure-record-replay-tests.txt \
- -expected-failure-list tests/expected-failure-github-runner.txt
+ -expected-failure-list tests/expected-failure-github-runner.txt \
+ -show-adapter-info
else
"$bin_dir/slang-test" \
-use-test-server \
@@ -185,7 +187,8 @@ jobs:
-api all-dx12 \
-expected-failure-list tests/expected-failure-github.txt \
-expected-failure-list tests/expected-failure-record-replay-tests.txt \
- -expected-failure-list tests/expected-failure-github-runner.txt
+ -expected-failure-list tests/expected-failure-github-runner.txt \
+ -show-adapter-info
fi
- name: Run Slang examples
if: steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm' && matrix.full-gpu-tests
@@ -211,7 +214,8 @@ jobs:
-category ${{ matrix.test-category }} \
-emit-spirv-via-glsl \
-api vk \
- -expected-failure-list tests/expected-failure.txt
+ -expected-failure-list tests/expected-failure.txt \
+ -show-adapter-info
- uses: actions/upload-artifact@v4
if: steps.filter.outputs.should-run == 'true' && ! matrix.full-gpu-tests
with: