Skip to content

Commit 735a13a

Browse files
committed
fixup! [CI] Draft a homebrew-based macCI.
1 parent 3c6b73c commit 735a13a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/root-ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ jobs:
119119
- platform: experimental-brew-ci
120120
# arch: ARM64
121121
overrides: ["CMAKE_CXX_STANDARD=23", "builtin_unuran=On", "tmva-sofie=Off"]
122+
- platform: experimental-brew-ci-2
123+
# arch: ARM64
124+
overrides: ["CMAKE_CXX_STANDARD=23", "builtin_unuran=On", "tmva-sofie=Off"]
122125
# - platform: mac26
123126
# arch: ARM64
124127
- platform: mac-beta
@@ -145,16 +148,16 @@ jobs:
145148
path: src/
146149

147150
- name: Update brew packages
148-
if: ${{ matrix.platform == 'experimental-brew-ci' }}
151+
if: ${{ contains(matrix.platform, 'experimental-brew-ci') }}
149152
run: |
150153
brew update
151-
brew install ccache googletest openjdk pyenv
154+
brew install ccache googletest openjdk pyenv python3
152155
echo "Installing official brew deps: $(brew deps --direct --include-build root)"
153156
brew install $(brew deps --direct --include-build root)
154157
java --version
155158
156159
- name: Set up python venv
157-
if: ${{ matrix.platform == 'experimental-brew-ci' }}
160+
if: ${{ contains(matrix.platform, 'experimental-brew-ci') }}
158161
run: |
159162
$(brew --prefix python)/bin/python3 -m venv ${VENV_DIR}
160163
source ${VENV_DIR}/bin/activate
@@ -205,7 +208,7 @@ jobs:
205208
--head_ref refs/pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }} \
206209
--head_sha ${{ github.event.pull_request.head.sha }} \
207210
--repository ${{ github.server_url }}/${{ github.repository }} \
208-
--platform ${{ matrix.platform == 'experimental-brew-ci' && 'mac15' || matrix.platform }} \
211+
--platform ${{ contains(matrix.platform, 'experimental-brew-ci') && 'mac15' || matrix.platform }} \
209212
--overrides $GLOBAL_OVERRIDES $OVERRIDES
210213
211214
- name: Workflow dispatch

0 commit comments

Comments
 (0)