Skip to content

Commit 9354e84

Browse files
committed
wip
1 parent f377ed1 commit 9354e84

File tree

1 file changed

+3
-55
lines changed

1 file changed

+3
-55
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -46,65 +46,13 @@ jobs:
4646
- name: Debug
4747
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" WORKSPACE=.github/package.xcworkspace xcodebuild
4848

49-
xcodebuild:
50-
name: xcodebuild (15)
51-
runs-on: macos-14
52-
strategy:
53-
matrix:
54-
command: [test, '']
55-
platform:
56-
- IOS
57-
- MAC_CATALYST
58-
- MACOS
59-
- TVOS
60-
# - VISIONOS # Unfortunately, visionOS on CI is too flakey
61-
- WATCHOS
62-
xcode: [15.2, 15.4]
63-
exclude:
64-
- {xcode: 15.2, command: test}
65-
- {xcode: 15.4, command: ''}
66-
- {xcode: 15.2, platform: MAC_CATALYST}
67-
- {xcode: 15.2, platform: TVOS}
68-
# - {xcode: 15.2, platform: VISIONOS}
69-
- {xcode: 15.2, platform: WATCHOS}
70-
steps:
71-
- uses: actions/checkout@v4
72-
- name: Select Xcode ${{ matrix.xcode }}
73-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
74-
- name: Update xcbeautify
75-
run: brew update && brew upgrade xcbeautify
76-
- name: Install visionOS runtime
77-
if: matrix.platform == 'visionOS'
78-
run: |
79-
sudo xcodebuild -runFirstLaunch
80-
sudo xcrun simctl list
81-
sudo xcodebuild -downloadPlatform visionOS
82-
sudo xcodebuild -runFirstLaunch
83-
- name: List available devices
84-
run: xcrun simctl list devices available
85-
- name: Cache derived data
86-
uses: actions/cache@v3
87-
with:
88-
path: |
89-
~/.derivedData
90-
key: |
91-
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
92-
restore-keys: |
93-
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
94-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
95-
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
96-
- name: Update mtime for incremental builds
97-
uses: chetan/git-restore-mtime-action@v2
98-
- name: Debug
99-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" WORKSPACE=.github/package.xcworkspace xcodebuild
100-
10149
library-evolution:
10250
name: Library (evolution)
103-
runs-on: macos-14
51+
runs-on: macos-15
10452
steps:
10553
- uses: actions/checkout@v4
106-
- name: Select Xcode 15.4
107-
run: sudo xcode-select -s /Applications/Xcode_15.4.app
54+
- name: Select Xcode 16.4
55+
run: sudo xcode-select -s /Applications/Xcode_16.4.app
10856
- name: Update xcbeautify
10957
run: brew update && brew upgrade xcbeautify
11058
- name: Build for library evolution

0 commit comments

Comments
 (0)