Skip to content

Commit 7725f27

Browse files
Update build-matrix.rb to pin the builder container image
And also drop the 5.9 scheme from the matrix.
1 parent 456ac88 commit 7725f27

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

.github/scripts/build-matrix.rb

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"target": "ubuntu18.04_x86_64",
99
"containers": {
1010
# "main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-18.04",
11-
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-18.04@sha256:d5d555cf48fc02f5003928a064c03b76c012fef8afbe54a1942c6bfc3d773c58",
1211
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-18.04@sha256:d5d555cf48fc02f5003928a064c03b76c012fef8afbe54a1942c6bfc3d773c58"
1312
},
1413
"run_stdlib_test": true,
@@ -25,9 +24,9 @@
2524
"target": "ubuntu20.04_x86_64",
2625
"containers": {
2726
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04",
28-
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:cc1b99e352ee207da2c75c7bcf81aa8b1d2c08215fd1d05dc0777c40a62f31f1",
2927
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:cc1b99e352ee207da2c75c7bcf81aa8b1d2c08215fd1d05dc0777c40a62f31f1",
3028
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:9007661fb6d57ebef902618e831458e88068350b0ecc8d85e56441d25a9f4312",
29+
"release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:9007661fb6d57ebef902618e831458e88068350b0ecc8d85e56441d25a9f4312",
3130
},
3231
"run_stdlib_test": true,
3332
"run_full_test": false,
@@ -43,9 +42,9 @@
4342
"target": "ubuntu22.04_x86_64",
4443
"containers": {
4544
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04",
46-
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:adfa0a8fbc6e5cc7ce5e38a5a9406d4fa5c557871204a65f0690478022d6b359",
4745
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:adfa0a8fbc6e5cc7ce5e38a5a9406d4fa5c557871204a65f0690478022d6b359",
4846
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2",
47+
"release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2",
4948
},
5049
"run_stdlib_test": true,
5150
"run_full_test": false,
@@ -61,9 +60,9 @@
6160
"target": "amazonlinux2_x86_64",
6261
"containers": {
6362
"main": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2",
64-
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:d5264ac43e935249b1c8777f6809ebbd2836cb0e8f7dac3bfeeb0b3cdb479b70",
6563
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:d5264ac43e935249b1c8777f6809ebbd2836cb0e8f7dac3bfeeb0b3cdb479b70",
6664
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:fc95912c595faecacbb869635fa871f8f31b8d6ed2f0df6792b53628db7ada94",
65+
"release-6.1": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:fc95912c595faecacbb869635fa871f8f31b8d6ed2f0df6792b53628db7ada94",
6766
},
6867
"run_stdlib_test": false,
6968
"run_full_test": false,
@@ -87,7 +86,7 @@
8786
{
8887
"build_os": "macos-14",
8988
"agent_query": "macos-14",
90-
"schemes": ["release-5.10", "release-6.0", "main"],
89+
"schemes": ["release-5.10", "release-6.0", "release-6.1", "main"],
9190
"target": "macos_arm64",
9291
"run_stdlib_test": true,
9392
"run_full_test": false,
@@ -97,18 +96,6 @@
9796
"free_disk_space": true,
9897
"only_swift_sdk": false,
9998
},
100-
{
101-
"build_os": "macos-13",
102-
"agent_query": ["self-hosted", "macOS", "ARM64"],
103-
"schemes": ["release-5.9"],
104-
"target": "macos_arm64",
105-
"run_stdlib_test": true,
106-
"run_full_test": false,
107-
"run_e2e_test": true,
108-
"build_hello_wasm": true,
109-
"clean_build_dir": true,
110-
"only_swift_sdk": false,
111-
},
11299
# Generic Swift SDK build
113100
{
114101
"job_name": "Swift SDK",
@@ -118,6 +105,7 @@
118105
"containers": {
119106
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04",
120107
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2",
108+
"release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2",
121109
},
122110
"run_stdlib_test": true,
123111
"run_full_test": false,
@@ -186,9 +174,9 @@ def main
186174
"target": "ubuntu20.04_aarch64",
187175
"containers": {
188176
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04",
189-
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:0e04dd550557d9f4f773bda55a6ac355c7c9696ea6efc3e59318bd49569aa00e",
190177
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:0e04dd550557d9f4f773bda55a6ac355c7c9696ea6efc3e59318bd49569aa00e",
191178
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:2a977060476a0f6f702d59ed0cd4e8506c7c1f1ed48d85a1a684d2d3fb62c297",
179+
"release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:2a977060476a0f6f702d59ed0cd4e8506c7c1f1ed48d85a1a684d2d3fb62c297",
192180
},
193181
"run_stdlib_test": false,
194182
"run_full_test": false,
@@ -202,7 +190,7 @@ def main
202190
end
203191

204192
schemes = derive_schemes(options)
205-
schemes = schemes - ["release-5.9"] # Skip 5.9 for now
193+
schemes = schemes
206194

207195
matrix_entries = schemes.flat_map do |scheme|
208196
if scheme == "main"

docs/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ We are usually doing the following steps:
3131
- `update-checkout-scheme` field should be updated to the one passed to `--scheme` option of [`utils/update-checkout`](https://github.com/swiftlang/swift/blob/main/utils/update-checkout) script.
3232
- `swift-org-download-channel` field should be updated to the new release branch.
3333
e.g. If a download link of a new release snapshot is "https://download.swift.org/swift-6.1-branch/xcode/swift-6.1-DEVELOPMENT-SNAPSHOT-2024-11-19-a/swift-6.1-DEVELOPMENT-SNAPSHOT-2024-11-19-a-osx.pkg", the value should be "swift-6.1-branch".
34+
3. Update `.github/scripts/build-matrix.rb` to pin the builder container image version for the new release scheme:
3435
3. Update CI configuration to build the new release scheme:
3536
- [`.github/workflows/nightly-distribution.yml`](https://github.com/swiftwasm/swift/blob/0895044e2ba31ccd1aade8068088b1fd3137fffb/.github/workflows/nightly-distribution.yml#L8-L11)
3637

0 commit comments

Comments
 (0)