|
35 | 35 | toolset: ["Win32", "x64"] |
36 | 36 | build_type: ["Debug", "Release"] |
37 | 37 | cmake_generator: ["Visual Studio 17 2022"] |
38 | | - cmake_args: ["-DDILIGENT_NO_GLSLANG=ON -DDILIGENT_NO_HLSL=ON -DDILIGENT_BUILD_FX_INCLUDE_TEST=ON -DDILIGENT_BUILD_FX_TESTS=ON"] |
| 38 | + cmake_args: ["-DDILIGENT_BUILD_FX_INCLUDE_TEST=ON -DDILIGENT_BUILD_FX_TESTS=ON -DDILIGENT_NO_WEBGPU=OFF"] |
39 | 39 | platform: ["Win32"] |
40 | 40 |
|
41 | 41 | include: |
@@ -78,29 +78,50 @@ jobs: |
78 | 78 |
|
79 | 79 | steps: |
80 | 80 | - name: Checkout |
81 | | - uses: DiligentGraphics/github-action/checkout@v15 |
| 81 | + uses: DiligentGraphics/github-action/checkout@v17 |
82 | 82 |
|
83 | 83 | - name: Set up build environment |
84 | 84 | if: success() |
85 | | - uses: DiligentGraphics/github-action/setup-build-env@v15 |
| 85 | + uses: DiligentGraphics/github-action/setup-build-env@v17 |
86 | 86 | with: |
87 | 87 | platform: ${{ matrix.platform }} |
88 | 88 | cmake-generator: ${{ matrix.cmake_generator }} |
89 | 89 | ninja-vs-arch: ${{ matrix.toolset }} |
90 | 90 |
|
91 | 91 | - name: Configure CMake |
92 | 92 | if: success() |
93 | | - uses: DiligentGraphics/github-action/configure-cmake@v15 |
| 93 | + uses: DiligentGraphics/github-action/configure-cmake@v17 |
94 | 94 | with: |
95 | 95 | generator: ${{ matrix.cmake_generator }} |
96 | 96 | vs-arch: ${{ matrix.toolset }} |
97 | 97 | build-type: ${{ matrix.build_type }} |
98 | 98 | cmake-args: ${{ matrix.cmake_args }} |
99 | 99 |
|
100 | 100 | - name: Build |
| 101 | + id: build |
101 | 102 | if: success() |
102 | | - uses: DiligentGraphics/github-action/build@v15 |
| 103 | + uses: DiligentGraphics/github-action/build@v17 |
103 | 104 |
|
104 | 105 | - name: RadientTest |
105 | 106 | if: ${{ success() && matrix.name != 'UWP'}} |
106 | | - uses: DiligentGraphics/github-action/run-radient-tests@v15 |
| 107 | + uses: DiligentGraphics/github-action/run-radient-tests@v17 |
| 108 | + |
| 109 | + - name: RadientGPUTest D3D11 |
| 110 | + # NB: it is essential to include failure() to override the default status check of success() |
| 111 | + # that is automatically applied to if conditions that don't contain a status check function. |
| 112 | + if: ${{ (success() || failure() && steps.build.outcome == 'success') && matrix.name == 'Win10' }} |
| 113 | + uses: DiligentGraphics/github-action/run-radient-gpu-tests@v17 |
| 114 | + with: |
| 115 | + mode: d3d11_sw |
| 116 | + |
| 117 | + - name: RadientGPUTest D3D12 |
| 118 | + if: ${{ (success() || failure() && steps.build.outcome == 'success') && matrix.name == 'Win10' }} |
| 119 | + uses: DiligentGraphics/github-action/run-radient-gpu-tests@v17 |
| 120 | + with: |
| 121 | + mode: d3d12_sw |
| 122 | + |
| 123 | + - name: RadientGPUTest WebGPU |
| 124 | + if: ${{ (success() || failure() && steps.build.outcome == 'success') && matrix.name == 'Win10' }} |
| 125 | + uses: DiligentGraphics/github-action/run-radient-gpu-tests@v17 |
| 126 | + with: |
| 127 | + mode: wgpu |
0 commit comments