From 33cbd14252f705b25a0b7725a345c06d8ce1dd72 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Thu, 12 Nov 2026 18:30:29 -0600 Subject: [PATCH 1/2] ci: Remove macos-14 We will need to set up CI with newer OS versions, and also shuffle the extra checks arounds, but for now just remove macos-14, since it's no longer supported by GitHub Actions and we don't want to break things. --- .github/workflows/ci-macvim.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-macvim.yaml b/.github/workflows/ci-macvim.yaml index 2aa9b0c337..c7ec5ce85f 100644 --- a/.github/workflows/ci-macvim.yaml +++ b/.github/workflows/ci-macvim.yaml @@ -29,10 +29,11 @@ jobs: skip: ${{ ! startswith(github.ref, 'refs/tags/release') }} legacy: true - - os: macos-14 - xcode: '15.4' - testgui: true - extra: [vimtags, check-xcodeproj-compat] + # Temporarily remove macos-14 as it's not longer supported. Will need to set up newer OS versions and move the extras over. +# - os: macos-14 +# xcode: '15.4' +# testgui: true +# extra: [vimtags, check-xcodeproj-compat] - os: macos-15 xcode: '16.4' From 91796538bace99495086eb2b2b48ca5278b5fc57 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Sun, 22 Nov 2026 11:12:50 -0800 Subject: [PATCH 2/2] ci: Fix brew cat not working for packages Homebrew is not guaranteed to have the formula file cached on disk if the formula is not installed. Have a fallback to directly fetch the formula file from the server. This fixes the libiconv build issues. --- .github/actions/universal-package/action.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/actions/universal-package/action.yml b/.github/actions/universal-package/action.yml index f93253900d..f08f63b0cf 100644 --- a/.github/actions/universal-package/action.yml +++ b/.github/actions/universal-package/action.yml @@ -33,7 +33,19 @@ runs: # Need to make sure we get the latest before patching. Otherwise Homebrew may later try to get the latest # version and stomp what we have here. - brew cat ${formula} >${formula}.rb + # + # brew cat needs the formula source on disk, which is only reliably the + # case if homebrew/core is tapped locally. Homebrew now defaults to + # using the API without a local tap, so in that case just fetch the + # formula from GitHub directly at the commit the API data refers to. + if brew tap | grep -qx homebrew/core; then + brew cat ${formula} >${formula}.rb + else + formula_json=$(brew info --json=v2 --formula ${formula}) + src_path=$(jq -r '.formulae[0].ruby_source_path' <<<"$formula_json") + git_head=$(jq -r '.formulae[0].tap_git_head' <<<"$formula_json") + curl -fsSL "https://raw.githubusercontent.com/Homebrew/homebrew-core/${git_head}/${src_path}" >${formula}.rb + fi if [[ "${{ inputs.gnuiconv }}" == "true" ]]; then # Modify formula to build using Homebrew libiconv. Usually just adding "depends_on" is enough, but since we