kokoro: Add vs2022 configs (#139)

Pass target CPU architecture explicitly vis BUILD_TARGET_ARCH

Use cmake --build to build, instead of hardcoding the path to msbuild
This commit is contained in:
David Neto
2025-01-10 17:29:58 -05:00
committed by GitHub
parent 82beeea910
commit 167b131a66
5 changed files with 43 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
# Format: //devtools/kokoro/config/proto/build.proto
# Location of the continuous bash script in Git.
build_file: "cppdap/kokoro/windows/presubmit.bat"
env_vars {
key: "BUILD_SYSTEM"
value: "cmake"
}
env_vars {
key: "BUILD_GENERATOR"
value: "Visual Studio 17 2022"
}
env_vars {
key: "BUILD_TARGET_ARCH"
value: "x64"
}