File tree Expand file tree Collapse file tree 1 file changed +0
-40
lines changed
Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Original file line number Diff line number Diff line change 9191 bbrew --help | head -3
9292 echo "✓ All checks passed!"
9393
94- test-macos-intel :
95- name : Test on macOS (Intel)
96- runs-on : macos-13 # Intel runner
97- steps :
98- - name : Checkout
99- uses : actions/checkout@v4
100-
101- - name : Ensure clean state (no Homebrew)
102- run : |
103- if command -v brew &> /dev/null || [ -d /usr/local/Homebrew ]; then
104- echo "Removing existing Homebrew..."
105- if [ -x /usr/local/bin/brew ]; then
106- NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" || true
107- fi
108- sudo rm -rf /usr/local/Homebrew
109- sudo rm -rf /usr/local/Cellar
110- sudo rm -rf /usr/local/Caskroom
111- sudo rm -f /usr/local/bin/brew
112- fi
113- if [ -d /usr/local/Homebrew ]; then
114- echo "ERROR: Failed to remove Homebrew"
115- exit 1
116- fi
117- echo "✓ Clean state confirmed"
118-
119- - name : Run install script
120- run : |
121- chmod +x install.sh
122- ./install.sh
123-
124- - name : Verify installation
125- run : |
126- eval "$(/usr/local/bin/brew shellenv)"
127- echo "==> Checking brew..."
128- brew --version
129- echo "==> Checking bbrew..."
130- which bbrew
131- bbrew --help | head -3
132- echo "✓ All checks passed!"
133-
13494 test-already-installed :
13595 name : Test upgrade path (Homebrew already installed)
13696 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments