Skip to content

Commit 376d4fd

Browse files
authored
Update ci.yml
1 parent 0fb002f commit 376d4fd

File tree

1 file changed

+130
-130
lines changed

1 file changed

+130
-130
lines changed

.github/workflows/ci.yml

Lines changed: 130 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -14,139 +14,139 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17-
xcodebuild-latest:
18-
name: xcodebuild (16)
19-
runs-on: macos-15
20-
strategy:
21-
matrix:
22-
command: [test, '']
23-
platform: [IOS, MACOS]
24-
xcode: ['16.2']
25-
steps:
26-
- uses: actions/checkout@v4
27-
- name: Select Xcode ${{ matrix.xcode }}
28-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
29-
- name: Update xcbeautify
30-
run: brew update && brew upgrade xcbeautify
31-
- name: List available devices
32-
run: xcrun simctl list devices available
33-
- name: Cache derived data
34-
uses: actions/cache@v3
35-
with:
36-
path: |
37-
~/.derivedData
38-
key: |
39-
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
40-
restore-keys: |
41-
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
42-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
43-
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
44-
- name: Update mtime for incremental builds
45-
uses: chetan/git-restore-mtime-action@v2
46-
- name: Debug
47-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" WORKSPACE=.github/package.xcworkspace xcodebuild
17+
# xcodebuild-latest:
18+
# name: xcodebuild (16)
19+
# runs-on: macos-15
20+
# strategy:
21+
# matrix:
22+
# command: [test, '']
23+
# platform: [IOS, MACOS]
24+
# xcode: ['16.2']
25+
# steps:
26+
# - uses: actions/checkout@v4
27+
# - name: Select Xcode ${{ matrix.xcode }}
28+
# run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
29+
# - name: Update xcbeautify
30+
# run: brew update && brew upgrade xcbeautify
31+
# - name: List available devices
32+
# run: xcrun simctl list devices available
33+
# - name: Cache derived data
34+
# uses: actions/cache@v3
35+
# with:
36+
# path: |
37+
# ~/.derivedData
38+
# key: |
39+
# deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
40+
# restore-keys: |
41+
# deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
42+
# - name: Set IgnoreFileSystemDeviceInodeChanges flag
43+
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
44+
# - name: Update mtime for incremental builds
45+
# uses: chetan/git-restore-mtime-action@v2
46+
# - name: Debug
47+
# 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
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
100100

101-
library-evolution:
102-
name: Library (evolution)
103-
runs-on: macos-14
104-
steps:
105-
- uses: actions/checkout@v4
106-
- name: Select Xcode 15.4
107-
run: sudo xcode-select -s /Applications/Xcode_15.4.app
108-
- name: Update xcbeautify
109-
run: brew update && brew upgrade xcbeautify
110-
- name: Build for library evolution
111-
run: make build-for-library-evolution
101+
# library-evolution:
102+
# name: Library (evolution)
103+
# runs-on: macos-14
104+
# steps:
105+
# - uses: actions/checkout@v4
106+
# - name: Select Xcode 15.4
107+
# run: sudo xcode-select -s /Applications/Xcode_15.4.app
108+
# - name: Update xcbeautify
109+
# run: brew update && brew upgrade xcbeautify
110+
# - name: Build for library evolution
111+
# run: make build-for-library-evolution
112112

113-
examples:
114-
name: Examples
115-
runs-on: macos-15
116-
steps:
117-
- uses: actions/checkout@v4
118-
- name: Cache derived data
119-
uses: actions/cache@v3
120-
with:
121-
path: ~/.derivedData
122-
key: |
123-
deriveddata-examples-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Examples/**/*.swift') }}
124-
restore-keys: |
125-
deriveddata-examples-
126-
- name: Select Xcode 16
127-
run: sudo xcode-select -s /Applications/Xcode_16.2.app
128-
- name: Update xcbeautify
129-
run: brew update && brew upgrade xcbeautify
130-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
131-
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
132-
- name: Update mtime for incremental builds
133-
uses: chetan/git-restore-mtime-action@v2
134-
- name: CaseStudies (SwiftUI)
135-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="CaseStudies (SwiftUI)" xcodebuild-raw
136-
- name: CaseStudies (UIKit)
137-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="CaseStudies (UIKit)" xcodebuild-raw
138-
- name: Search
139-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="Search" xcodebuild-raw
140-
- name: SyncUps
141-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="SyncUps" xcodebuild-raw
142-
- name: SpeechRecognition
143-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="SpeechRecognition" xcodebuild-raw
144-
- name: TicTacToe
145-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="TicTacToe" xcodebuild-raw
146-
- name: Todos
147-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="Todos" xcodebuild-raw
148-
- name: VoiceMemos
149-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="VoiceMemos" xcodebuild-raw
113+
# examples:
114+
# name: Examples
115+
# runs-on: macos-15
116+
# steps:
117+
# - uses: actions/checkout@v4
118+
# - name: Cache derived data
119+
# uses: actions/cache@v3
120+
# with:
121+
# path: ~/.derivedData
122+
# key: |
123+
# deriveddata-examples-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Examples/**/*.swift') }}
124+
# restore-keys: |
125+
# deriveddata-examples-
126+
# - name: Select Xcode 16
127+
# run: sudo xcode-select -s /Applications/Xcode_16.2.app
128+
# - name: Update xcbeautify
129+
# run: brew update && brew upgrade xcbeautify
130+
# - name: Set IgnoreFileSystemDeviceInodeChanges flag
131+
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
132+
# - name: Update mtime for incremental builds
133+
# uses: chetan/git-restore-mtime-action@v2
134+
# - name: CaseStudies (SwiftUI)
135+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="CaseStudies (SwiftUI)" xcodebuild-raw
136+
# - name: CaseStudies (UIKit)
137+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="CaseStudies (UIKit)" xcodebuild-raw
138+
# - name: Search
139+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="Search" xcodebuild-raw
140+
# - name: SyncUps
141+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="SyncUps" xcodebuild-raw
142+
# - name: SpeechRecognition
143+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="SpeechRecognition" xcodebuild-raw
144+
# - name: TicTacToe
145+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="TicTacToe" xcodebuild-raw
146+
# - name: Todos
147+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="Todos" xcodebuild-raw
148+
# - name: VoiceMemos
149+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="VoiceMemos" xcodebuild-raw
150150

151151
check-macro-compatibility:
152152
name: Check Macro Compatibility

0 commit comments

Comments
 (0)