fix(macos): trust osrf/simulation tap in --sim-tools block (#27891)

Homebrew 6.0+ refuses to load formulae from untrusted third-party taps. This adds a trusted block for OSRF taps. 

Signed-off-by: Cade Andersen <cadecandersen@gmail.com>
This commit is contained in:
Cade Andersen
2026-07-13 22:55:16 -07:00
committed by GitHub
parent 5f63c0698e
commit d067ce19c3

View File

@@ -121,6 +121,14 @@ if [[ $INSTALL_SIM == "--sim-tools" ]]; then
# osrf/simulation: gz-harmonic (Gazebo Harmonic meta-formula)
brew tap osrf/simulation
# Homebrew 6.0+ refuses to load formulae from untrusted third-party
# taps (see the toolchain trust block above). Without this, the
# gz-harmonic install aborts and the script still exits successfully,
# leaving the simulation stack silently missing.
if brew trust --help &> /dev/null; then
brew trust osrf/simulation
fi
PX4_SIM_BREW_PACKAGES=(
exiftool
glog