mirror of
https://github.com/openai/codex.git
synced 2026-03-05 21:45:28 +03:00
https://github.com/openai/codex/pull/11109 had automerge set, so I didn't get to address feedback before merging, oops!
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
common --remote_download_minimal
|
|
common --keep_going
|
|
common --verbose_failures
|
|
|
|
# Disable disk cache since we have remote one and aren't using persistent workers.
|
|
common --disk_cache=
|
|
|
|
# Rearrange caches on Windows so they're on the same volume as the checkout.
|
|
common:windows --repo_contents_cache=D:/a/.cache/bazel-repo-contents-cache
|
|
common:windows --repository_cache=D:/a/.cache/bazel-repo-cache
|
|
|
|
# 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.
|
|
|
|
# On linux, we can do a full remote build/test, by targeting the right (x86/arm) runners, so we have coverage of both.
|
|
# Linux crossbuilds don't work until we untangle the libc constraint mess.
|
|
common:linux --config=remote
|
|
common:linux --strategy=remote
|
|
common:linux --platforms=//:rbe
|
|
|
|
# On mac, we can run all the build actions remotely but test actions locally.
|
|
common:macos --config=remote
|
|
common:macos --strategy=remote
|
|
common:macos --strategy=TestRunner=darwin-sandbox,local
|
|
|
|
# On windows we cannot cross-build the tests but run them locally due to what appears to be a Bazel bug
|
|
# (windows vs unix path confusion)
|