From 4170b4e21b287b28fa95ae15a0e44dc3c18e5fd8 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Thu, 16 Feb 2023 16:10:08 +0800 Subject: [PATCH] GHA CI: speed up package installation on macOS Setup time is shortened by cutting down unnecessary operations. https://docs.brew.sh/Manpage#environment --- .github/workflows/ci_macos.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci_macos.yaml b/.github/workflows/ci_macos.yaml index dd0de04ca..d15af6157 100644 --- a/.github/workflows/ci_macos.yaml +++ b/.github/workflows/ci_macos.yaml @@ -31,6 +31,9 @@ jobs: - name: Install dependencies run: | + export \ + HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 \ + HOMEBREW_NO_INSTALL_CLEANUP=1 brew update > /dev/null brew install \ cmake ninja \