ci: pin the idb-companion tap to the formula the companion is staged from

The tap moved to 1.5.0, whose bundle has no top-level Frameworks/, and
prepare.sh stages bin/ and Frameworks/ as siblings because the binary
resolves through @rpath. Floating on it also made the hard-coded
companion-1.1.8 output name a lie.

The ios-assets cache does not cover this: it restores and make rebuilds
anyway, because checkout stamps prepare.sh newer than the archived
tarball. Master was green only because its last run predated the bump.
This commit is contained in:
pj committed 2026-08-18 09:44:05 +05:30
1 parent badabbaed8
commit dd9c3a1d9a
2 files changed
+36 -1

No files matched your search

+13 -1
View File
@@ -39,10 +39,22 @@ runs:
# idb-companion is not in homebrew-core, only in facebook/homebrew-fb, so
# it has to be named by its full tap path. xcodegen and just are core.
#
# The tap is checked out at the 1.1.8 formula because companionassets stages
# bin/ and Frameworks/ as siblings and names its output companion-1.1.8. The
# tap moved to 1.5.0, which drops the top-level Frameworks/, so floating on
# it broke the staging and made the embedded version string a lie. Moving to
# 1.5.0 is a companion change, not a CI one.
- name: Install idb-companion, xcodegen and just
if: inputs.platform == 'ios'
shell: bash
run: brew install facebook/fb/idb-companion xcodegen just
env:
HOMEBREW_NO_AUTO_UPDATE: 1
run: |
brew install xcodegen just
brew tap facebook/fb
git -C "$(brew --repository facebook/fb)" checkout --quiet c0386793f59da10c619787f2aa18d938ef1d69c9
brew install facebook/fb/idb-companion
# Both asset tarballs are built by the prepare scripts, and the runner
# bundle is an xcodebuild of companion/Sources. Keyed on the scripts and