-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8713 from realm/tg/gha
Update GHA workflows to work with the macOS image changes
- Loading branch information
Showing
32 changed files
with
858 additions
and
1,469 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,13 @@ jobs: | |
strategy: | ||
matrix: | ||
target: [macosx, iphoneos, iphonesimulator, appletvos, appletvsimulator, watchos, watchsimulator, maccatalyst, xros, xrsimulator] | ||
xcode: ["15.3"] | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Switch to Xcode ${{ matrix.xcode }} | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: ${{ matrix.xcode }} | ||
- name: Download visionOS | ||
if: matrix.target == 'xros' || matrix.target == 'xrsimulator' | ||
run: xcodebuild -downloadPlatform visionOS | ||
|
||
- name: Get Core Version | ||
id: get-core-version | ||
|
@@ -44,6 +43,11 @@ jobs: | |
fetch-depth: 0 | ||
fetch-tags: true | ||
|
||
# CMake 3.30 introduced a check which tries to validate that the compiler | ||
# supports the requested architextures but it doesn't work. | ||
- name: Patch CMake | ||
run: sed -i '' 's/CMAKE_HOST_APPLE AND CMAKE_SYSTEM_NAME STREQUAL "Darwin"/CMAKE_HOST_APPLE AND CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT CMAKE_GENERATOR STREQUAL "Xcode"/' /opt/homebrew/Cellar/cmake/*/share/cmake/Modules/CMakeDetermineCompilerABI.cmake | ||
|
||
- name: Checkout Core@${{ steps.get-core-version.outputs.version }} | ||
run: git checkout ${{ steps.get-core-version.outputs.version }} --recurse-submodules -f | ||
working-directory: core | ||
|
Oops, something went wrong.