Skip to content

Commit ac61a46

Browse files
committed
ci:macos: GCC needs Xcode 15.1
1 parent 8cc4d3e commit ac61a46

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/composite-unix/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ runs:
1717
sudo apt update
1818
sudo apt install --no-install-recommends ninja-build
1919
20+
- name: MacoS GCC workaround
21+
shell: bash
22+
run: sudo xcode-select --switch /Applications/Xcode_15.1.app
23+
if: runner.os == 'macOS' && ${{ env.CC == 'gcc-13' }}
24+
# https://docs.brew.sh/Xcode
25+
# https://github.com/Homebrew/brew/blob/HEAD/Library/Homebrew/os/mac/xcode.rb#L20
26+
2027
- run: cmake --preset multi
2128
shell: bash
2229

0 commit comments

Comments
 (0)