Skip to content

Commit 56e4c87

Browse files
committed
Explode all the build configs!
1 parent 5bd8691 commit 56e4c87

10 files changed

+90
-6
lines changed

.github/workflows/macos.yaml renamed to .github/workflows/macos-clang-mtl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ jobs:
1414
with:
1515
OS: macOS
1616
Test-Clang: On
17+
TestTarget: check-clang-mtl

.github/workflows/macos-dxc-only.yaml renamed to .github/workflows/macos-dxc-mtl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ jobs:
1414
with:
1515
OS: macOS
1616
Test-Clang: Off
17+
TestTarget: check-hlsl-mtl

.github/workflows/test-all.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ on:
3131
- Release
3232
- RelWithDebInfo
3333
- Debug
34+
TestTarget:
35+
required: false
36+
default: 'check-hlsl'
37+
type: string
3438
Test-Clang:
3539
required: true
3640
type: choice
@@ -72,6 +76,10 @@ on:
7276
required: false
7377
default: 'On'
7478
type: string
79+
TestTarget:
80+
required: false
81+
default: 'check-hlsl'
82+
type: string
7583

7684
jobs:
7785
build:
@@ -122,7 +130,7 @@ jobs:
122130
run: |
123131
cd llvm-project
124132
cd build
125-
ninja check-hlsl
133+
ninja ${{ inputs.TestTarget }}
126134
- name: Publish Test Results
127135
uses: EnricoMi/publish-unit-test-result-action/macos@v2
128136
if: always() && inputs.OS == 'macOS'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: windows-Intel
2+
3+
permissions:
4+
contents: read
5+
checks: write
6+
7+
on:
8+
schedule:
9+
- cron: '0 */2 * * *' # run every 12 hours
10+
11+
jobs:
12+
windows-Intel:
13+
uses: ./.github/workflows/test-all.yaml
14+
with:
15+
OS: windows
16+
Test-Clang: On
17+
TestTarget: check-hlsl-clang-d3d12

.github/workflows/windows-intel.yaml renamed to .github/workflows/windows-intel-clang-vk.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ permissions:
66

77
on:
88
schedule:
9-
- cron: '0 */12 * * *' # run every 12 hours
9+
- cron: '0 */2 * * *' # run every 12 hours
1010

1111
jobs:
1212
windows-Intel:
1313
uses: ./.github/workflows/test-all.yaml
1414
with:
1515
OS: windows
1616
Test-Clang: On
17+
TestTarget: check-hlsl-clang-vk
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: windows-Intel
2+
3+
permissions:
4+
contents: read
5+
checks: write
6+
7+
on:
8+
schedule:
9+
- cron: '0 */2 * * *' # run every 12 hours
10+
11+
jobs:
12+
windows-Intel:
13+
uses: ./.github/workflows/test-all.yaml
14+
with:
15+
OS: windows
16+
Test-Clang: On
17+
TestTarget: check-hlsl-clang-warp-d3d12
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: windows-Intel-dxc-only
2+
3+
permissions:
4+
contents: read
5+
checks: write
6+
7+
on:
8+
schedule:
9+
- cron: '0 */2 * * *' # run every 2 hours
10+
11+
jobs:
12+
windows-Intel-dxc-only:
13+
uses: ./.github/workflows/test-all.yaml
14+
with:
15+
OS: windows
16+
Test-Clang: Off
17+
BuildType: Debug
18+
TestTarget: check-hlsl-d3d12

.github/workflows/windows-intel-dxc-only.yaml renamed to .github/workflows/windows-intel-dxc-vk.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ jobs:
1515
OS: windows
1616
Test-Clang: Off
1717
BuildType: Debug
18+
TestTarget: check-hlsl-vk
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: windows-Intel-dxc-only
2+
3+
permissions:
4+
contents: read
5+
checks: write
6+
7+
on:
8+
schedule:
9+
- cron: '0 */2 * * *' # run every 2 hours
10+
11+
jobs:
12+
windows-Intel-dxc-only:
13+
uses: ./.github/workflows/test-all.yaml
14+
with:
15+
OS: windows
16+
Test-Clang: Off
17+
BuildType: Debug
18+
TestTarget: check-hlsl-warp-d3d12

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ Experimental Runtime test suite for HLSL
33

44
## Current Status
55

6-
| Testing Machine | DXC-Only | Clang & DXC |
7-
|-----------------|----------|-------------|
8-
| Windows Intel GPU | ![DXC-Only](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-dxc-only.yaml/badge.svg) | ![Clang & DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel.yaml/badge.svg) |
9-
| macOS Apple M1 | ![DXC-Only](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/macos-dxc-only.yaml/badge.svg) | ![Clang & DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/macos.yaml/badge.svg) |
6+
| Testing Machine | DXC | Clang |
7+
|-----------------|-----|-------|
8+
| Windows DirectX12 Intel GPU | ![DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-dxc-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-clang-d3d12.yaml/badge.svg) |
9+
| Windows DirectX12 Warp | ![DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-dxc-warp-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-clang-warp-d3d12.yaml/badge.svg) |
10+
| Windows Vulkan Intel GPU | ![DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-dxc-vk.yaml/badge.svg) | ![Clang](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/windows-intel-clang-vk.yaml/badge.svg) |
11+
| macOS Apple M1 | ![DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/macos-dxc-mtl.yaml/badge.svg) | ![Clang & DXC](https://github.com/llvm-beanz/HLSLTEst/actions/workflows/macos-clang-mtl.yaml/badge.svg) |
1012

1113

1214
# Prerequisites

0 commit comments

Comments
 (0)