Skip to content

Commit cd52a43

Browse files
committed
Add the ability to opt-in to testing all hardware configs
This will allow us to opt in to the new nvidia and amd testing configurations as we work through the test failures.
1 parent 24b2efb commit cd52a43

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/pr-matrix.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,25 @@ jobs:
4242
SKU: ${{ matrix.SKU }}
4343
TestTarget: ${{ matrix.TestTarget }}
4444
OffloadTest-branch: ${{ github.event.pull_request.head.sha }}
45-
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
45+
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl
46+
-DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
47+
48+
Exec-Tests-Extra:
49+
if: ${{ github.event.label.name == 'test-all' }}
50+
strategy:
51+
fail-fast: false
52+
matrix:
53+
SKU: [windows-nvidia, windows-amd]
54+
TestTarget: [check-hlsl-d3d12, check-hlsl-vk, check-hlsl-clang-d3d12, check-hlsl-clang-vk]
55+
56+
uses: ./.github/workflows/build-and-test-callable.yaml
57+
with:
58+
OS: windows
59+
SKU: ${{ matrix.SKU }}
60+
TestTarget: ${{ matrix.TestTarget }}
61+
OffloadTest-branch: ${{ github.event.pull_request.head.sha }}
62+
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl
63+
-DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
4664

4765
Exec-Tests-MacOS:
4866
strategy:

0 commit comments

Comments
 (0)