File tree Expand file tree Collapse file tree 7 files changed +71
-13
lines changed
windows-msvc-2022-release Expand file tree Collapse file tree 7 files changed +71
-13
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,12 @@ set PATH=C:\python312;c:\cmake-3.31.2\bin;%PATH%
2727:: #########################################
2828:: set up msvc build env
2929:: #########################################
30- if %VS_VERSION% == 2017 (
31- call " C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
32- echo " Using VS 2017..."
33-
34- :: RE2 does not support VS2017, we we must disable tests.
35- set BUILD_TESTS = NO
36- ) else if %VS_VERSION% == 2019 (
30+ if %VS_VERSION% == 2019 (
3731 call " C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
3832 echo " Using VS 2019..."
33+ ) else if %VS_VERSION% == 2022 (
34+ call " C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" x64
35+ echo " Using VS 2022..."
3936)
4037
4138cd %SRC%
Original file line number Diff line number Diff line change 1+ :: Copyright (c) 2023 Google LLC
2+ ::
3+ :: Licensed under the Apache License, Version 2.0 (the "License");
4+ :: you may not use this file except in compliance with the License.
5+ :: You may obtain a copy of the License at
6+ ::
7+ :: http://www.apache.org/licenses/LICENSE-2.0
8+ ::
9+ :: Unless required by applicable law or agreed to in writing, software
10+ :: distributed under the License is distributed on an "AS IS" BASIS,
11+ :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ :: See the License for the specific language governing permissions and
13+ :: limitations under the License.
14+ ::
15+ :: Windows Build Script.
16+
17+ @ echo on
18+
19+ :: Find out the directory of the common build script.
20+ set SCRIPT_DIR = %~dp0
21+
22+ :: Call with correct parameter
23+ call %SCRIPT_DIR% \..\scripts\windows\build.bat Debug 2019
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2023 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ # Continuous build configuration.
16+ build_file: " SPIRV-Tools/kokoro/windows-msvc-2019-debug/build.bat"
17+
18+ action {
19+ define_artifacts {
20+ regex: " install.zip"
21+ }
22+ }
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2023 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ # Presubmit build configuration.
16+ build_file: " SPIRV-Tools/kokoro/windows-msvc-2019-debug/build.bat"
Original file line number Diff line number Diff line change 1- :: Copyright (c) 2018 Google LLC.
1+ :: Copyright (c) 2025 Google LLC
22::
33:: Licensed under the Apache License, Version 2.0 (the "License");
44:: you may not use this file except in compliance with the License.
2020set SCRIPT_DIR = %~dp0
2121
2222:: Call with correct parameter
23- call %SCRIPT_DIR% \..\scripts\windows\build.bat RelWithDebInfo 2017
23+ call %SCRIPT_DIR% \..\scripts\windows\build.bat RelWithDebInfo 2022
2424
Original file line number Diff line number Diff line change 1- # Copyright (c) 2018 Google LLC.
1+ # Copyright (c) 2025 Google LLC.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1313# limitations under the License.
1414
1515# Continuous build configuration.
16- build_file: " SPIRV-Tools/kokoro/windows-msvc-2017 -release/build.bat"
16+ build_file: " SPIRV-Tools/kokoro/windows-msvc-2022 -release/build.bat"
1717
1818action {
1919 define_artifacts {
Original file line number Diff line number Diff line change 1- # Copyright (c) 2018 Google LLC.
1+ # Copyright (c) 2025 Google LLC.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1313# limitations under the License.
1414
1515# Presubmit build configuration.
16- build_file: " SPIRV-Tools/kokoro/windows-msvc-2017 -release/build.bat"
16+ build_file: " SPIRV-Tools/kokoro/windows-msvc-2022 -release/build.bat"
You can’t perform that action at this time.
0 commit comments