Skip to content

Commit

Permalink
CI: Fix macOS build by working around bogus SDK detection
Browse files Browse the repository at this point in the history
For whatever reason CMake seems to infer "12.6" as SDK version, because
the GitHub Action macOS runner is based on macOS 12.6. But that number
doesn't match the SDK version, which should be 13.1 here.

This seems to be a long running issue with GitHub Actions' macOS runner:
actions/runner-images#2211

Though I can't tell if it's a CMake bug or a GitHub Actions image setup
issue.
  • Loading branch information
akien-mga committed Apr 3, 2023
1 parent d3cb734 commit eb80870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ jobs:
with:
fetch-depth: 0 # Shallow clones speed things up
- name: cmake configure
run: cmake -S ./Projects -B ./Build
run: cmake -S ./Projects -DCMAKE_OSX_DEPLOYMENT_TARGET="" -B ./Build
- name: compile with cmake
run: cmake --build ./Build

0 comments on commit eb80870

Please sign in to comment.