From 0ca1d7af62bb5a59347441ed2b0eb8e83791fb42 Mon Sep 17 00:00:00 2001 From: cheneym2 Date: Thu, 6 Mar 2025 19:06:58 -0500 Subject: 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. --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to '.github') 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: -- cgit v1.2.3