From 3c0547cfb0ba171c871d8013d62d22d5f25462bb Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Mon, 20 Jan 2025 13:18:17 +0100 Subject: [PATCH] use brew clang on darwin-4 --- .github/workflows-source/ci-main.yml | 3 ++- .github/workflows/ci-main.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows-source/ci-main.yml b/.github/workflows-source/ci-main.yml index 1c7b6bfc4ee..4b56332d181 100644 --- a/.github/workflows-source/ci-main.yml +++ b/.github/workflows-source/ci-main.yml @@ -177,7 +177,7 @@ jobs: name: Bazel Test macOS Intel timeout-minutes: 130 runs-on: - labels: macOS + labels: darwin-4 steps: - <<: *checkout @@ -185,6 +185,7 @@ jobs: run: | echo "/usr/local/bin" >> $GITHUB_PATH echo "$HOME/.cargo/bin:" >> $GITHUB_PATH + echo "CC=/usr/local/opt/llvm/bin/clang" >> "$GITHUB_ENV" - <<: *docker-login - name: Run Bazel Test Darwin x86-64 id: bazel-test-darwin-x86-64 diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index b9d7209af70..95ec92ee7f2 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -168,7 +168,7 @@ jobs: name: Bazel Test macOS Intel timeout-minutes: 130 runs-on: - labels: macOS + labels: darwin-4 steps: - name: Checkout uses: actions/checkout@v4 @@ -178,6 +178,7 @@ jobs: run: | echo "/usr/local/bin" >> $GITHUB_PATH echo "$HOME/.cargo/bin:" >> $GITHUB_PATH + echo "CC=/usr/local/opt/llvm/bin/clang" >> "$GITHUB_ENV" - name: Login to Dockerhub shell: bash run: ./ci/scripts/docker-login.sh