Skip to content

Commit

Permalink
try select latest xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingerZhu committed Dec 18, 2024
1 parent dba00ff commit e51fd29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ jobs:
# 2to3 exists. As a quick hack, delete it first. This should be
# removed once the homebrew install is fixed.
run: "rm -f /usr/local/bin/2to3 ; brew update && brew install ninja"

- name: Pick the latest XCode in runner
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -G Ninja ${{ matrix.cmake-flags }} ${{ matrix.extra-cmake-flags }}
# Build with a nice ninja status line
Expand Down

0 comments on commit e51fd29

Please sign in to comment.