mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
ci(macos): stop pinning Homebrew to older commits
The macOS job checked out Homebrew 7.0.6 and a 2026-09-18 package index on a runner image whose packages a newer Homebrew had installed. The image refreshed on 2026-10-29 with openssl@4 as the linked default, and the pinned Homebrew deadlocked on its own openssl@4 lock while linking the pinned openssl@3 for ccache, so ccache never installed and every run since failed. Homebrew fixed the nested lock in 7.0.10, but any pin older than the image repeats the problem at the next refresh. The pins were added to keep Gazebo on bottles built against one protobuf. Gazebo now comes from the conda-forge lock in macos/pixi.toml, so install from the Homebrew and index the image ships, with auto-update off so the index stays the one its packages came from. macos.sh goes back to plain brew tap and cask installs, which is what it already does on developer machines. Assisted-by: Claude:claude-mythos-5-1 Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
1 parent
a3c65d0761
commit
d6cd502f2d
4 files changed
+7
-104
No files matched your search
@@ -13,9 +13,7 @@ on:
|
||||
- '**'
|
||||
paths:
|
||||
- 'Tools/setup/macos.sh'
|
||||
- 'Tools/setup/macos_ci_pins.sh'
|
||||
- 'Tools/setup/macos/**'
|
||||
- 'Tools/setup/homebrew-pins.txt'
|
||||
- 'Tools/setup/requirements.txt'
|
||||
- '.github/workflows/compile_macos.yml'
|
||||
schedule:
|
||||
@@ -50,12 +48,12 @@ jobs:
|
||||
|
||||
- name: setup
|
||||
env:
|
||||
# Read the checked-out package repos. The default is a live index,
|
||||
# which ignores those checkouts.
|
||||
# Skip `brew update`. The image's Homebrew and package index are
|
||||
# the ones its preinstalled packages came from, and a newer index
|
||||
# only adds upgrades. Pinning older commits instead put an older
|
||||
# Homebrew in charge of packages a newer one had installed.
|
||||
HOMEBREW_NO_AUTO_UPDATE: "1"
|
||||
HOMEBREW_NO_INSTALL_FROM_API: "1"
|
||||
run: |
|
||||
./Tools/setup/macos_ci_pins.sh
|
||||
./Tools/setup/macos.sh --sim-tools
|
||||
echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
|
||||
|
||||
|
||||
Reference in new issue
Block a user