From 3c23e76000540829a871f4a27cbace516cca9182 Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sat, 30 Aug 2025 10:59:36 -0400 Subject: [PATCH] ci: don't explicitly install `cmake` anymore for macOS builds (#4013) Something has changed, hopefully the system installed cmake plays nice image --- .github/workflows/macos-build-arm.yaml | 9 ++++++++- .github/workflows/macos-build.yaml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos-build-arm.yaml b/.github/workflows/macos-build-arm.yaml index e22061dd6e..44777ba38a 100644 --- a/.github/workflows/macos-build-arm.yaml +++ b/.github/workflows/macos-build-arm.yaml @@ -25,7 +25,14 @@ jobs: uses: actions/checkout@v4 - name: Install Package Dependencies - run: brew install cmake ninja nasm + env: + HOMEBREW_NO_INSTALL_CLEANUP: 1 + HOMEBREW_NO_ANALYTICS: 1 + run: | + if ! brew install ninja nasm; then + brew update + brew install ninja nasm + fi - name: Setup sccache uses: hendrikmuhs/ccache-action@v1.2.18 diff --git a/.github/workflows/macos-build.yaml b/.github/workflows/macos-build.yaml index 065ee2a4cb..d9fa9ee5eb 100644 --- a/.github/workflows/macos-build.yaml +++ b/.github/workflows/macos-build.yaml @@ -35,7 +35,14 @@ jobs: fetch-tags: true - name: Install Package Dependencies - run: brew install cmake nasm ninja + env: + HOMEBREW_NO_INSTALL_CLEANUP: 1 + HOMEBREW_NO_ANALYTICS: 1 + run: | + if ! brew install ninja nasm; then + brew update + brew install ninja nasm + fi - name: Setup sccache uses: hendrikmuhs/ccache-action@v1.2.18