ci: select execution strategy by platform

This commit is contained in:
Adam Perry
2026-06-22 11:51:14 -07:00
committed by Adam Perry @ OpenAI
parent 9c4ef08581
commit 368f038865
+6 -10
View File
@@ -165,19 +165,15 @@ common:ci-windows --config=ci-bazel
common:ci-windows --build_metadata=TAG_os=windows
common:ci-windows --repo_contents_cache=D:/a/.cache/bazel-repo-contents-cache
# Keep Windows Rust, build-script, and lint actions on the native gnullvm
# execution platform while offloading hermetic native and generator work to
# Linux RBE workers.
# Prefer RBE for Linux execution platforms, but require every Windows action to
# run locally. V8Mksnapshot is currently mis-platformed as Linux even though it
# invokes a Windows binary, so keep that narrow mnemonic exception local too.
common:ci-windows-argument-lint --config=ci-windows
common:ci-windows-argument-lint --extra_execution_platforms=//:rbe
common:ci-windows-argument-lint --strategy=Rustc=local
common:ci-windows-argument-lint --strategy=RustcMetadata=local
common:ci-windows-argument-lint --strategy=CargoBuildScriptRun=local
common:ci-windows-argument-lint --strategy=ArgumentCommentLint=local
common:ci-windows-argument-lint --strategy=remote,local
common:ci-windows-argument-lint --allowed_strategies_by_exec_platform=//:local_windows=local
common:ci-windows-argument-lint --allowed_strategies_by_exec_platform=//:windows_x86_64_gnullvm=local
common:ci-windows-argument-lint --strategy=V8Mksnapshot=local
common:ci-windows-argument-lint --strategy=CppCompile=remote
common:ci-windows-argument-lint --strategy=CppArchive=remote
common:ci-windows-argument-lint --strategy=CppLink=remote
# We prefer to run the build actions entirely remotely so we can dial up the concurrency.
# We have platform-specific tests, so we want to execute the tests on all platforms using the strongest sandboxing available on each platform.