cold cache test PiperOrigin-RevId: 999669945
diff --git a/.bazelrc b/.bazelrc index 3427eb2..bd51d66 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -14,6 +14,8 @@ common --show_timestamps +common --noremote_accept_cached + # Retry longer to avoid flakes when fetching external dependencies. common --http_connector_attempts=10 common --http_timeout_scaling=2.0 @@ -41,14 +43,16 @@ common:windows-msvc --enable_runfiles build:windows-msvc --cxxopt=/std:c++17 --host_cxxopt=/std:c++17 build:windows-msvc --copt=/WX -build:windows-msvc --per_file_copt=external/.*@/w -build:windows-msvc --host_per_file_copt=external/.*@/w +build:windows-msvc --per_file_copt=external/.*@/w,/O1 +build:windows-msvc --host_per_file_copt=external/.*@/w,/O1 +test:windows-msvc --build_tests_only build:windows-clangcl --config=windows-msvc build:windows-clangcl --compiler=clang-cl build:windows-clangcl --copt=-Wno-microsoft-cast build:windows-clangcl --extra_execution_platforms=//:x64_windows-clang-cl build:windows-clangcl --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl +test:windows-clangcl --nobuild_tests_only # Configure our macOS Xcode setup. build:macos --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 @@ -92,6 +96,8 @@ build:remote-cache --remote_download_regex=.*symbolize_test\.pdb$ # Retry up for up to 15 minutes under heavy load (exponential backoff). build:remote-cache --remote_retries=20 --remote_retry_max_delay=60s +# Use more parallel jobs for remote cache lookups and tests. +build:remote-cache --jobs=HOST_CPUS*4 build:remote-base --define=EXECUTOR=remote build:remote-base --remote_timeout=1200 --bes_timeout=600s
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 218cd0c..46a6319 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml
@@ -96,7 +96,7 @@ cache-save: true bazelisk-cache: true external-cache: true - repository-cache: true + repository-cache: false google-credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazelrc: common --config=${{ inputs.remote_config }}
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 09d0b7e..f02044d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml
@@ -88,6 +88,8 @@ SCCACHE_GCS_RW_MODE: READ_WRITE SCCACHE_IDLE_TIMEOUT: 0 SCCACHE_IGNORE_SERVER_IO_ERROR: 1 + SCCACHE_RECACHE: 1 + RBE_remote_accept_cache: false steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # 7.0.0