From dbf44d3daba9f67637d4741a9f4e20a01e6760d5 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Sat, 20 Jan 2024 01:52:31 +0900 Subject: [PATCH] Disable Homebrew updates (#2292) --- .github/workflows/test.yaml | 2 ++ tools/ci/github/setup.sh | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index db0a135dff..dda2e9c358 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,6 +8,8 @@ on: concurrency: group: test-${{ github.ref }} cancel-in-progress: true +env: + HOMEBREW_NO_AUTO_UPDATE: "1" jobs: build: strategy: diff --git a/tools/ci/github/setup.sh b/tools/ci/github/setup.sh index bf75681831..e86faebe68 100755 --- a/tools/ci/github/setup.sh +++ b/tools/ci/github/setup.sh @@ -4,12 +4,6 @@ set -e llvm_version=16 -brew update - -if [ -n "$CI" ]; then - brew install --overwrite python@3.11 -fi - brew install jq llvm@$llvm_version ninja sccache llvm_prefix=$(brew --prefix)/opt/llvm@$llvm_version