From 56ca37014b2e9fd2929214ec9998fb307d18c8cf Mon Sep 17 00:00:00 2001 From: der richter Date: Mon, 15 Sep 2025 19:20:28 +0200 Subject: [PATCH] ci/mac: pin homebrew for macOS 13 runner to last working version since macOS 13 is now unsupported and homebrew also dropped support for it too, the macOS 13 bottle downloads were removed. leading to either a broken or very long dependency installation (build from source). to fix, pin the last known working homebrew version for macOS 13 where the bottle download links weren't removed yet. for this to work we need to disable (auto) update of homebrew. --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3f085e256..f24292d00b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -239,6 +239,7 @@ jobs: - os: "macos-13" arch: "intel" xcode: "Xcode_14.1" + homebrew: "2e821e2d8ae38540311cd6ec60f6e1b23d61d167" - os: "macos-14" arch: "arm" xcode: "Xcode_15.2" @@ -263,7 +264,13 @@ jobs: - name: Install dependencies run: | - brew update + if [[ -n "${{ matrix.homebrew }}" ]]; then + export HOMEBREW_NO_AUTO_UPDATE=1 + cd "$(brew --repo homebrew/core)" + git checkout --force ${{ matrix.homebrew }} + else + brew update + fi brew install -q autoconf automake pkgconf libtool python freetype fribidi little-cms2 \ luajit libass ffmpeg meson rust uchardet mujs libplacebo molten-vk vulkan-loader vulkan-headers