File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
TestSwiftOrgClient/swiftorgClient Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,20 @@ struct Tool {
52
52
work: { _ = try await client. listReleases ( ) . ok. body. json }
53
53
) ,
54
54
]
55
+ struct DevToolchainBranchPlatform : Hashable {
56
+ var branch : Components . Schemas . KnownSourceBranch
57
+ var platform : Components . Schemas . KnownPlatformIdentifier
58
+ }
59
+ let excluded : Set < DevToolchainBranchPlatform > = [
60
+ . init( branch: . _6_0, platform: . debian12) ,
61
+ . init( branch: . _6_0, platform: . fedora39) ,
62
+ . init( branch: . _6_0, platform: . ubuntu2404) ,
63
+ ]
55
64
for branch in Components . Schemas. KnownSourceBranch. allCases {
56
65
for platform in Components . Schemas. KnownPlatformIdentifier. allCases {
66
+ guard !excluded. contains ( . init( branch: branch, platform: platform) ) else {
67
+ continue
68
+ }
57
69
tests. append (
58
70
. init(
59
71
name: " listDevToolchains( \( branch. rawValue) , \( platform. rawValue) ) " ,
Original file line number Diff line number Diff line change @@ -134,12 +134,12 @@ components:
134
134
type : string
135
135
pattern : \d+\.\d+(\.\d+)?
136
136
description : Version number of the Swift release.
137
- example : ' 6.0.2 '
137
+ example : ' 6.2.0 '
138
138
date :
139
139
type : string
140
140
pattern : \d{4}-\d{2}-\d{2}
141
141
description : Release date of the Swift version.
142
- example : ' 2024-10-28 '
142
+ example : ' 2025-09-15 '
143
143
platforms :
144
144
type : array
145
145
description : List of supported platforms for this release.
@@ -172,10 +172,13 @@ components:
172
172
enum :
173
173
- amazonlinux2
174
174
- centos7
175
+ - debian12
176
+ - fedora39
175
177
- macos
176
178
- ubi9
177
179
- ubuntu2004
178
180
- ubuntu2204
181
+ - ubuntu2404
179
182
- windows10
180
183
PlatformIdentifier :
181
184
anyOf :
@@ -191,6 +194,8 @@ components:
191
194
type : string
192
195
enum :
193
196
- Swift Development Snapshot
197
+ - Swift Static SDK Development Snapshot
198
+ - Swift Wasm SDK Development Snapshot
194
199
DevToolchainKind :
195
200
anyOf :
196
201
- $ref : ' #/components/schemas/KnownDevToolchainKind'
@@ -273,6 +278,8 @@ components:
273
278
- Linux
274
279
- Windows
275
280
- static-sdk
281
+ - wasm
282
+ example : Linux
276
283
PlatformType :
277
284
anyOf :
278
285
- $ref : ' #/components/schemas/KnownPlatformType'
@@ -311,7 +318,12 @@ components:
311
318
description : List of supported architectures.
312
319
checksum :
313
320
type : string
314
- description : SHA-256 Checksum of the static SDK, if this platform is the static SDK.
321
+ description : SHA-256 checksum of the Swift SDK.
322
+ example : ' d2225840e592389ca517bbf71652f7003dbf45ac35d1e57d98b9250368769378'
323
+ docker :
324
+ type : string
325
+ description : The tag of the container image.
326
+ example : ' 6.2-noble'
315
327
required :
316
328
- name
317
329
- platform
You can’t perform that action at this time.
0 commit comments