Upload all Mac binaries to CAS when building. Bug: 540364710 Change-Id: I471d6766ed1b3d818c9b71e616ee7ebf6a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/99969 Reviewed-by: Xiangfei Ding <xfding@google.com> Auto-Submit: Rudolf Polzer <rpolzer@google.com> Commit-Queue: Xiangfei Ding <xfding@google.com> Presubmit-BoringSSL-Verified: boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/infra/config/generated/cr-buildbucket.cfg b/infra/config/generated/cr-buildbucket.cfg index cf8cc43..9e99e44 100644 --- a/infra/config/generated/cr-buildbucket.cfg +++ b/infra/config/generated/cr-buildbucket.cfg
@@ -1389,6 +1389,7 @@ properties_j: "$gatekeeper:{\"group\":\"client.boringssl\"}" properties_j: "cmake_args:{\"RUST_BINDINGS\":\"x86_64-apple-darwin\"}" properties_j: "rust:true" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -1423,6 +1424,7 @@ properties_j: "$gatekeeper:{\"group\":\"client.boringssl\"}" properties_j: "cmake_args:{\"CMAKE_EXE_LINKER_FLAGS\":\"-Wl,-dead_strip\",\"CMAKE_SHARED_LINKER_FLAGS\":\"-Wl,-dead_strip\",\"RUST_BINDINGS\":\"aarch64-apple-darwin\"}" properties_j: "rust:true" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -1490,6 +1492,7 @@ properties_j: "prefixed_symbols:true" properties_j: "run_ssl_tests:false" properties_j: "run_unit_tests:false" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -1525,6 +1528,7 @@ properties_j: "prefixed_symbols:true" properties_j: "run_ssl_tests:false" properties_j: "run_unit_tests:false" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -1558,6 +1562,7 @@ cipd_version: "refs/heads/main" properties_j: "$gatekeeper:{\"group\":\"client.boringssl\"}" properties_j: "cmake_args:{\"CMAKE_BUILD_TYPE\":\"Release\",\"CMAKE_EXE_LINKER_FLAGS\":\"-Wl,-dead_strip\",\"CMAKE_SHARED_LINKER_FLAGS\":\"-Wl,-dead_strip\"}" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -1591,6 +1596,7 @@ cipd_version: "refs/heads/main" properties_j: "$gatekeeper:{\"group\":\"client.boringssl\"}" properties_j: "cmake_args:{\"CMAKE_CXX_FLAGS\":\"-DOPENSSL_SMALL=1\",\"CMAKE_C_FLAGS\":\"-DOPENSSL_SMALL=1\"}" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -3367,6 +3373,7 @@ cipd_version: "refs/heads/main" properties_j: "cmake_args:{\"RUST_BINDINGS\":\"x86_64-apple-darwin\"}" properties_j: "rust:true" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -3387,6 +3394,7 @@ cipd_version: "refs/heads/main" properties_j: "cmake_args:{\"CMAKE_EXE_LINKER_FLAGS\":\"-Wl,-dead_strip\",\"CMAKE_SHARED_LINKER_FLAGS\":\"-Wl,-dead_strip\",\"RUST_BINDINGS\":\"aarch64-apple-darwin\"}" properties_j: "rust:true" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -3426,6 +3434,7 @@ properties_j: "prefixed_symbols:true" properties_j: "run_ssl_tests:false" properties_j: "run_unit_tests:false" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -3447,6 +3456,7 @@ properties_j: "prefixed_symbols:true" properties_j: "run_ssl_tests:false" properties_j: "run_unit_tests:false" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -3466,6 +3476,7 @@ cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" cipd_version: "refs/heads/main" properties_j: "cmake_args:{\"CMAKE_BUILD_TYPE\":\"Release\",\"CMAKE_EXE_LINKER_FLAGS\":\"-Wl,-dead_strip\",\"CMAKE_SHARED_LINKER_FLAGS\":\"-Wl,-dead_strip\"}" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches { @@ -3485,6 +3496,7 @@ cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" cipd_version: "refs/heads/main" properties_j: "cmake_args:{\"CMAKE_CXX_FLAGS\":\"-DOPENSSL_SMALL=1\",\"CMAKE_C_FLAGS\":\"-DOPENSSL_SMALL=1\"}" + properties_j: "upload_to_cas:[\"*_bench\",\"*_test\",\"bssl\",\"generate_*\",\"jitter_deltas\",\"ssl/test/bssl_shim\",\"test_*\",\"libcrypto.a\",\"libdecrepit.a\",\"libpki.a\",\"libssl.a\"]" } execution_timeout_secs: 3600 caches {
diff --git a/infra/config/main.star b/infra/config/main.star index 2a78654..11c56fc 100755 --- a/infra/config/main.star +++ b/infra/config/main.star
@@ -1310,6 +1310,7 @@ }, # Also build and test the Rust code. "rust": True, + "upload_to_cas": FINISHED_OUTPUT_FILES_MAC_STATIC, }, ) both_builders( @@ -1321,6 +1322,7 @@ "CMAKE_EXE_LINKER_FLAGS": "-Wl,-dead_strip", "CMAKE_SHARED_LINKER_FLAGS": "-Wl,-dead_strip", }, + "upload_to_cas": FINISHED_OUTPUT_FILES_MAC_STATIC, }, ) both_builders( @@ -1331,6 +1333,7 @@ "CMAKE_C_FLAGS": "-DOPENSSL_SMALL=1", "CMAKE_CXX_FLAGS": "-DOPENSSL_SMALL=1", }, + "upload_to_cas": FINISHED_OUTPUT_FILES_MAC_STATIC, }, ) both_builders( @@ -1341,6 +1344,7 @@ cq_enabled = False, properties = compile_only({ "prefixed_symbols": True, + "upload_to_cas": FINISHED_OUTPUT_FILES_MAC_STATIC, }), ) both_builders( @@ -1354,6 +1358,7 @@ }, # Also build and test the Rust code. "rust": True, + "upload_to_cas": FINISHED_OUTPUT_FILES_MAC_STATIC, }, ) both_builders( @@ -1361,6 +1366,7 @@ MAC_ARM64_HOST, properties = compile_only({ "prefixed_symbols": True, + "upload_to_cas": FINISHED_OUTPUT_FILES_MAC_STATIC, }), ) both_builders(