@@ -12,46 +12,23 @@ jobs:
1212 container : ${{ matrix.swift.nightly && format('swiftlang/swift:nightly-{0}-{1}', matrix.swift.version, matrix.os) || format('swift:{0}-{1}', matrix.swift.version, matrix.os) }}
1313 if : ${{ !contains(github.event.head_commit.message, 'ci skip') }}
1414 strategy :
15- fail-fast : false
1615 matrix :
1716 os : [noble, jammy]
1817 swift :
1918 - version : " 6.1"
2019 - version : " 6.2"
2120 - version : " 6.3"
2221 nightly : true
23- type : ["", "wasm", "wasm-embedded"]
24- exclude :
25- # Exclude Swift 6.1 from wasm builds
26- - swift : { version: "6.1" }
27- type : " wasm"
28- - swift : { version: "6.1" }
29- type : " wasm-embedded"
30- # Exclude Swift 6.3 from wasm builds
31- - swift : { version: "6.3", nightly: true }
32- type : " wasm"
33- - swift : { version: "6.3", nightly: true }
34- type : " wasm-embedded"
22+
3523 steps :
3624 - uses : actions/checkout@v4
37- - uses : brightdigit/swift-build@v1.5.0-beta.2
38- id : build
39- with :
40- type : ${{ matrix.type }}
41- wasmtime-version : " 40.0.2"
42- wasm-swift-flags : >-
43- -Xcc -D_WASI_EMULATED_SIGNAL
44- -Xcc -D_WASI_EMULATED_MMAN
45- -Xlinker -lwasi-emulated-signal
46- -Xlinker -lwasi-emulated-mman
25+ - uses : brightdigit/swift-build@v1.4.1
4726 - uses : sersoft-gmbh/swift-coverage-action@v4
48- if : steps.build.outputs.contains-code-coverage == 'true'
4927 id : coverage-files
50- with :
28+ with :
5129 fail-on-empty-output : true
5230 - name : Upload coverage to Codecov
53- if : steps.build.outputs.contains-code-coverage == 'true'
54- uses : codecov/codecov-action@v4
31+ uses : codecov/codecov-action@v4
5532 with :
5633 fail_ci_if_error : true
5734 flags : swift-${{ matrix.swift.version }}-${{ matrix.os }}${{ matrix.swift.nightly && 'nightly' || '' }}
6138 build-windows :
6239 name : Build on Windows
6340 runs-on : ${{ matrix.runs-on }}
64- if : ${{ !contains(github.event.head_commit.message, 'ci skip') }}
6541 strategy :
6642 fail-fast : false
6743 matrix :
@@ -73,14 +49,12 @@ jobs:
7349 build : 6.2-RELEASE
7450 steps :
7551 - uses : actions/checkout@v4
76- - uses : brightdigit/swift-build@v1.5.0-beta.2
77- id : build
52+ - uses : brightdigit/swift-build@v1.4.1
7853 with :
7954 windows-swift-version : ${{ matrix.swift.version }}
8055 windows-swift-build : ${{ matrix.swift.build }}
8156 - name : Upload coverage to Codecov
82- if : steps.build.outputs.contains-code-coverage == 'true'
83- uses : codecov/codecov-action@v5
57+ uses : codecov/codecov-action@v5
8458 with :
8559 fail_ci_if_error : true
8660 flags : swift-${{ matrix.swift.version }},windows
9973 swift :
10074 - version : " 6.1"
10175 - version : " 6.2"
102- android-api-level : [33, 34]
76+ android-api-level : [28, 33, 34]
10377 steps :
10478 - uses : actions/checkout@v4
10579 - name : Free disk space
11387 large-packages : true
11488 docker-images : true
11589 swap-storage : true
116- - uses : brightdigit/swift-build@v1.5.0-beta.2
90+ - uses : brightdigit/swift-build@v1.4.1
11791 with :
11892 scheme : ${{ env.PACKAGE_NAME }}
11993 type : android
@@ -127,7 +101,7 @@ jobs:
127101 env :
128102 PACKAGE_NAME : MistKit
129103 runs-on : ${{ matrix.runs-on }}
130- if : ${{ !contains(github.event.head_commit.message, 'ci skip') }}
104+ if : " !contains(github.event.head_commit.message, 'ci skip')"
131105 strategy :
132106 fail-fast : false
133107 matrix :
@@ -142,7 +116,7 @@ jobs:
142116
143117 # macOS Build Matrix
144118 - type : macos
145- runs-on : macos-26
119+ - runs-on : macos-26
146120 xcode : " /Applications/Xcode_26.2.app"
147121
148122 # iOS Build Matrix
@@ -153,75 +127,61 @@ jobs:
153127 osVersion : " 26.2"
154128 download-platform : true
155129
156- - type : ios
157- runs-on : macos-15
158- xcode : " /Applications/Xcode_16.4.app"
159- deviceName : " iPhone 16e"
160- osVersion : " 18.5"
161- download-platform : true
162-
163130 - type : ios
164131 runs-on : macos-15
165132 xcode : " /Applications/Xcode_16.3.app"
166133 deviceName : " iPhone 16"
167134 osVersion : " 18.4"
168- download-platform : true
169135
170136
171137 # watchOS Build Matrix
172138 - type : watchos
173139 runs-on : macos-26
174140 xcode : " /Applications/Xcode_26.2.app"
175141 deviceName : " Apple Watch Ultra 3 (49mm)"
176- osVersion : " 26.0"
177- download-platform : true
142+ osVersion : " 26.2"
178143
179144 # tvOS Build Matrix
180145 - type : tvos
181146 runs-on : macos-26
182147 xcode : " /Applications/Xcode_26.2.app"
183148 deviceName : " Apple TV"
184- osVersion : " 26.0"
185- download-platform : true
149+ osVersion : " 26.2"
186150
187151 # visionOS Build Matrix
188152 - type : visionos
189153 runs-on : macos-26
190154 xcode : " /Applications/Xcode_26.2.app"
191155 deviceName : " Apple Vision Pro"
192- osVersion : " 26.0"
193- download-platform : true
156+ osVersion : " 26.2"
194157
195158 steps :
196159 - uses : actions/checkout@v4
197160
198161 - name : Build and Test
199- id : build
200- uses : brightdigit/swift-build@v1.5.0-beta.2
162+ uses : brightdigit/swift-build@v1.4.1
201163 with :
202164 scheme : ${{ env.PACKAGE_NAME }}
203165 type : ${{ matrix.type }}
204166 xcode : ${{ matrix.xcode }}
205167 deviceName : ${{ matrix.deviceName }}
206168 osVersion : ${{ matrix.osVersion }}
207169 download-platform : ${{ matrix.download-platform }}
208-
170+
209171 # Common Coverage Steps
210172 - name : Process Coverage
211- if : steps.build.outputs.contains-code-coverage == 'true'
212173 uses : sersoft-gmbh/swift-coverage-action@v4
213-
174+
214175 - name : Upload Coverage
215- if : steps.build.outputs.contains-code-coverage == 'true'
216176 uses : codecov/codecov-action@v4
217177 with :
218178 token : ${{ secrets.CODECOV_TOKEN }}
219179 flags : ${{ matrix.type && format('{0}{1}', matrix.type, matrix.osVersion) || 'spm' }}
220180
221181 lint :
222182 name : Linting
183+ if : " !contains(github.event.head_commit.message, 'ci skip')"
223184 runs-on : ubuntu-latest
224- if : ${{ !contains(github.event.head_commit.message, 'ci skip') }}
225185 needs : [build-ubuntu, build-macos, build-windows, build-android]
226186 env :
227187 MINT_PATH : .mint/lib
0 commit comments