From 8feac77d8c579da98b705ca36ed912bd2ce44b91 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Thu, 24 Apr 2025 14:39:15 +0200 Subject: [PATCH] Update workflow file. --- .github/workflows/build.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 177da905..5b6de7b4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -24,12 +24,10 @@ jobs: - name: Linux Clang os: ubuntu-latest compiler: llvm - gcov_executable: "llvm-cov gcov" - name: MacOS clang os: macos-latest compiler: llvm - gcov_executable: "llvm-cov gcov" - name: Windows MSVC os: windows-latest @@ -52,6 +50,14 @@ jobs: bazelisk-cache: false disk-cache: ${{ github.workflow }} repository-cache: false + + # Need on macos. See https://github.com/bazelbuild/bazel/issues/21718 + - Clean Bazel cache 1 + run: bazel clean --expunge + + # Need on macos. See https://github.com/bazelbuild/bazel/issues/21718 + - Clean Bazel cache 2 + run: bazel fetch --configure --force - name: "Build with Bazel" run: bazel build ...