From d38803f84d846ddbc1f7ad741081faccb3d3acde Mon Sep 17 00:00:00 2001 From: Damyan Pepper Date: Mon, 27 Apr 2026 09:28:44 -0700 Subject: [PATCH] ci: add PR build with SPIR-V codegen disabled 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 <223556219+Copilot@users.noreply.github.com> --- azure-pipelines.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4eae96bf2a..b0e1cbeaf2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,8 +27,13 @@ stages: matrix: VS2022_Release: configuration: Release + spirvBuildFlag: -spirvtest VS2022_Debug: configuration: Debug + spirvBuildFlag: -spirvtest + VS2022_Release_NoSPIRV: + configuration: Release + spirvBuildFlag: '' steps: - checkout: self @@ -36,7 +41,7 @@ stages: submodules: true - script: | call utils\hct\hctstart.cmd %HLSL_SRC_DIR% %HLSL_BLD_DIR% - call utils\hct\hctbuild.cmd -vs2022 -$(platform) -$(configuration) -show-cmake-log -spirvtest -warp-nuget-version 1.0.16.1 + call utils\hct\hctbuild.cmd -vs2022 -$(platform) -$(configuration) -show-cmake-log $(spirvBuildFlag) -warp-nuget-version 1.0.16.1 displayName: 'Building' - script: | call utils\hct\hctstart.cmd %HLSL_SRC_DIR% %HLSL_BLD_DIR%