Skip to content

Commit 3b57f8e

Browse files
damyanpCopilot
andauthored
ci: add PR build with SPIR-V codegen disabled (#8410)
No PR build exercised the SPIR-V-disabled configuration, so breakage of that build could land unnoticed. Add a Windows Release job that builds and tests with `ENABLE_SPIRV_CODEGEN` off to guard against this. Co-authored-by: Copilot <[email protected]>
1 parent 0921e36 commit 3b57f8e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

azure-pipelines.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,21 @@ stages:
2727
matrix:
2828
VS2022_Release:
2929
configuration: Release
30+
spirvBuildFlag: -spirvtest
3031
VS2022_Debug:
3132
configuration: Debug
33+
spirvBuildFlag: -spirvtest
34+
VS2022_Release_NoSPIRV:
35+
configuration: Release
36+
spirvBuildFlag: ''
3237

3338
steps:
3439
- checkout: self
3540
clean: true
3641
submodules: true
3742
- script: |
3843
call utils\hct\hctstart.cmd %HLSL_SRC_DIR% %HLSL_BLD_DIR%
39-
call utils\hct\hctbuild.cmd -vs2022 -$(platform) -$(configuration) -show-cmake-log -spirvtest -warp-nuget-version 1.0.16.1
44+
call utils\hct\hctbuild.cmd -vs2022 -$(platform) -$(configuration) -show-cmake-log $(spirvBuildFlag) -warp-nuget-version 1.0.16.1
4045
displayName: 'Building'
4146
- script: |
4247
call utils\hct\hctstart.cmd %HLSL_SRC_DIR% %HLSL_BLD_DIR%

0 commit comments

Comments
 (0)