The failure is included below. The reason for the failure is because we caches ~/Library/Caches/Homebrew, but this might present a mismatch with the latests homebrew. We bump the cache version. ------------------------------------ failure ------------------------------------ Error: missing keywords: :date, :because /opt/homebrew/Library/Homebrew/formula.rb:4631:in 'deprecate!' /opt/homebrew/Library/Homebrew/formulary.rb:290:in 'block in Formulary.load_formula_from_json!' /opt/homebrew/Library/Homebrew/formulary.rb:228:in 'Class#initialize' /opt/homebrew/Library/Homebrew/formulary.rb:228:in 'Class#new' /opt/homebrew/Library/Homebrew/formulary.rb:228:in 'Formulary.load_formula_from_json!' /opt/homebrew/Library/Homebrew/formulary.rb:959:in 'Formulary::FromAPILoader#load_from_api' /opt/homebrew/Library/Homebrew/formulary.rb:943:in 'Formulary::FromAPILoader#klass' /opt/homebrew/Library/Homebrew/formulary.rb:524:in 'Formulary::FormulaLoader#get_formula' /opt/homebrew/Library/Homebrew/formulary.rb:1045:in 'Formulary.factory' /opt/homebrew/Library/Homebrew/formula.rb:2447:in 'Formula.[]' /opt/homebrew/Library/Homebrew/formula.rb:671:in 'block in Formula#versioned_formulae' /opt/homebrew/Library/Homebrew/formula.rb:670:in 'Array#each' /opt/homebrew/Library/Homebrew/formula.rb:670:in 'Enumerable#filter_map' /opt/homebrew/Library/Homebrew/formula.rb:670:in 'Formula#versioned_formulae' /opt/homebrew/Library/Homebrew/unlink.rb:9:in 'Homebrew::Unlink.unlink_versioned_formulae' /opt/homebrew/Library/Homebrew/formula_installer.rb:1166:in 'FormulaInstaller#link' /opt/homebrew/Library/Homebrew/formula_installer.rb:955:in 'FormulaInstaller#finish' /opt/homebrew/Library/Homebrew/formula_installer.rb:905:in 'FormulaInstaller#install_dependency' /opt/homebrew/Library/Homebrew/formula_installer.rb:816:in 'block in FormulaInstaller#install_dependencies' /opt/homebrew/Library/Homebrew/formula_installer.rb:816:in 'Array#each' /opt/homebrew/Library/Homebrew/formula_installer.rb:816:in 'FormulaInstaller#install_dependencies' /opt/homebrew/Library/Homebrew/formula_installer.rb:569:in 'FormulaInstaller#install' /opt/homebrew/Library/Homebrew/install.rb:493:in 'Homebrew::Install.install_formula' /opt/homebrew/Library/Homebrew/install.rb:420:in 'block in Homebrew::Install.install_formulae' /opt/homebrew/Library/Homebrew/install.rb:417:in 'Array#each' /opt/homebrew/Library/Homebrew/install.rb:417:in 'Homebrew::Install.install_formulae' /opt/homebrew/Library/Homebrew/cmd/install.rb:396:in 'Homebrew::Cmd::InstallCmd#run' /opt/homebrew/Library/Homebrew/brew.rb:101:in '<main>'
26 lines
707 B
YAML
26 lines
707 B
YAML
name: 'Mac Preqrequisites'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: ./.github/actions/dep-versions
|
|
- name: Set up Homebrew
|
|
id: set-up-homebrew
|
|
uses: Homebrew/actions/setup-homebrew@master
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Cache Brew
|
|
id: brew-cache
|
|
uses: actions/cache@v4 # Use a specific version
|
|
with:
|
|
path: ~/Library/Caches/Homebrew
|
|
key: ${{ runner.os }}-brew-20251211
|
|
- name: Install Mac Prerequisites
|
|
shell: bash
|
|
run: |
|
|
# Install brew prereqs
|
|
brew install coreutils
|
|
# Install ninja
|
|
source ./build/common/get-ninja.sh
|