Skip to content

Commit 2894e4d

Browse files
authored
Add the ability to opt-in to testing all hardware configs (#339)
This will allow us to opt in to the new nvidia and amd testing configurations as we work through the test failures.
1 parent cc6b526 commit 2894e4d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/pr-matrix.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@ jobs:
4444
OffloadTest-branch: ${{ github.event.pull_request.head.sha }}
4545
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
4646

47+
Exec-Tests-Extra:
48+
if: contains( github.event.pull_request.labels.*.name, 'test-all')
49+
strategy:
50+
fail-fast: false
51+
matrix:
52+
SKU: [windows-nvidia, windows-amd]
53+
TestTarget: [check-hlsl-d3d12, check-hlsl-vk, check-hlsl-clang-d3d12, check-hlsl-clang-vk]
54+
55+
uses: ./.github/workflows/build-and-test-callable.yaml
56+
with:
57+
OS: windows
58+
SKU: ${{ matrix.SKU }}
59+
TestTarget: ${{ matrix.TestTarget }}
60+
OffloadTest-branch: ${{ github.event.pull_request.head.sha }}
61+
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
62+
4763
Exec-Tests-MacOS:
4864
strategy:
4965
fail-fast: false

0 commit comments

Comments
 (0)