Skip to content

Commit 1311357

Browse files
Update meson_ci.yml
1 parent 388044d commit 1311357

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/meson_ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,15 @@ jobs:
7676
with:
7777
python-version: '3.12'
7878

79-
- name: Install Xcode
79+
- name: Install Xcode Command Line Tools
80+
run: |
81+
if ! xcode-select -p &>/dev/null; then
82+
sudo xcode-select --install
83+
# Wait until installation finishes
84+
until xcode-select -p &>/dev/null; do sleep 5; done
85+
fi
86+
87+
- name: Select Xcode version
8088
run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer
8189

8290
- name: Install Meson and Ninja

0 commit comments

Comments
 (0)