Skip to content

Commit 56ca370

Browse files
Akemikasper93
authored andcommitted
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.
1 parent 6996c06 commit 56ca370

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ jobs:
239239
- os: "macos-13"
240240
arch: "intel"
241241
xcode: "Xcode_14.1"
242+
homebrew: "2e821e2d8ae38540311cd6ec60f6e1b23d61d167"
242243
- os: "macos-14"
243244
arch: "arm"
244245
xcode: "Xcode_15.2"
@@ -263,7 +264,13 @@ jobs:
263264
264265
- name: Install dependencies
265266
run: |
266-
brew update
267+
if [[ -n "${{ matrix.homebrew }}" ]]; then
268+
export HOMEBREW_NO_AUTO_UPDATE=1
269+
cd "$(brew --repo homebrew/core)"
270+
git checkout --force ${{ matrix.homebrew }}
271+
else
272+
brew update
273+
fi
267274
brew install -q autoconf automake pkgconf libtool python freetype fribidi little-cms2 \
268275
luajit libass ffmpeg meson rust uchardet mujs libplacebo molten-vk vulkan-loader vulkan-headers
269276

0 commit comments

Comments
 (0)