|
2 | 2 | require "optparse"
|
3 | 3 |
|
4 | 4 | BASE_MATRIX_ENTRIES = [
|
5 |
| - { |
6 |
| - "build_os": "ubuntu-20.04", |
7 |
| - "agent_query": "ubuntu-20.04", |
8 |
| - "target": "ubuntu20.04_x86_64", |
9 |
| - "containers": { |
10 |
| - "main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04", |
11 |
| - "release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:9007661fb6d57ebef902618e831458e88068350b0ecc8d85e56441d25a9f4312", |
12 |
| - "release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:9007661fb6d57ebef902618e831458e88068350b0ecc8d85e56441d25a9f4312", |
13 |
| - }, |
14 |
| - "run_stdlib_test": true, |
15 |
| - "run_full_test": false, |
16 |
| - "run_e2e_test": true, |
17 |
| - "build_hello_wasm": true, |
18 |
| - "clean_build_dir": false, |
19 |
| - "free_disk_space": true, |
20 |
| - "only_swift_sdk": false, |
21 |
| - }, |
22 |
| - { |
23 |
| - "build_os": "ubuntu-22.04", |
24 |
| - "agent_query": "ubuntu-22.04", |
25 |
| - "target": "ubuntu22.04_x86_64", |
26 |
| - "containers": { |
27 |
| - "main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04", |
28 |
| - "release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2", |
29 |
| - "release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2", |
30 |
| - }, |
31 |
| - "run_stdlib_test": true, |
32 |
| - "run_full_test": false, |
33 |
| - "run_e2e_test": true, |
34 |
| - "build_hello_wasm": true, |
35 |
| - "clean_build_dir": false, |
36 |
| - "free_disk_space": true, |
37 |
| - "only_swift_sdk": false, |
38 |
| - }, |
39 |
| - { |
40 |
| - "build_os": "amazon-linux-2", |
41 |
| - "agent_query": "ubuntu-22.04", |
42 |
| - "target": "amazonlinux2_x86_64", |
43 |
| - "containers": { |
44 |
| - "main": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2", |
45 |
| - "release-6.0": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:fc95912c595faecacbb869635fa871f8f31b8d6ed2f0df6792b53628db7ada94", |
46 |
| - "release-6.1": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:fc95912c595faecacbb869635fa871f8f31b8d6ed2f0df6792b53628db7ada94", |
47 |
| - }, |
48 |
| - "run_stdlib_test": false, |
49 |
| - "run_full_test": false, |
50 |
| - "run_e2e_test": false, |
51 |
| - "build_hello_wasm": true, |
52 |
| - "clean_build_dir": false, |
53 |
| - "free_disk_space": true, |
54 |
| - "only_swift_sdk": false, |
55 |
| - }, |
56 |
| - { |
57 |
| - "build_os": "macos-13", |
58 |
| - "agent_query": "macos-13", |
59 |
| - "schemes": ["release-6.0", "release-6.1", "main"], |
60 |
| - "target": "macos_x86_64", |
61 |
| - "run_stdlib_test": false, |
62 |
| - "run_full_test": false, |
63 |
| - "run_e2e_test": false, |
64 |
| - "build_hello_wasm": false, |
65 |
| - "clean_build_dir": false, |
66 |
| - "only_swift_sdk": false, |
67 |
| - }, |
68 |
| - { |
69 |
| - "build_os": "macos-14", |
70 |
| - "agent_query": "macos-14", |
71 |
| - "schemes": ["release-6.0", "release-6.1", "main"], |
72 |
| - "target": "macos_arm64", |
73 |
| - "run_stdlib_test": true, |
74 |
| - "run_full_test": false, |
75 |
| - "run_e2e_test": true, |
76 |
| - "build_hello_wasm": true, |
77 |
| - "clean_build_dir": true, |
78 |
| - "free_disk_space": true, |
79 |
| - "only_swift_sdk": false, |
80 |
| - }, |
81 | 5 | # Generic Swift SDK build
|
82 | 6 | {
|
83 | 7 | "job_name": "Swift SDK",
|
@@ -147,28 +71,6 @@ def main
|
147 | 71 | end.parse!
|
148 | 72 |
|
149 | 73 | matrix_entries = BASE_MATRIX_ENTRIES.dup
|
150 |
| - if options[:runner] |
151 |
| - runner = JSON.parse(File.read(options[:runner])) |
152 |
| - if label = runner["outputs"]["ubuntu20_04_aarch64-label"] |
153 |
| - matrix_entries << { |
154 |
| - "build_os": "ubuntu-20.04", |
155 |
| - "agent_query": label, |
156 |
| - "target": "ubuntu20.04_aarch64", |
157 |
| - "containers": { |
158 |
| - "main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04", |
159 |
| - "release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:2a977060476a0f6f702d59ed0cd4e8506c7c1f1ed48d85a1a684d2d3fb62c297", |
160 |
| - "release-6.1": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:2a977060476a0f6f702d59ed0cd4e8506c7c1f1ed48d85a1a684d2d3fb62c297", |
161 |
| - }, |
162 |
| - "run_stdlib_test": false, |
163 |
| - "run_full_test": false, |
164 |
| - "run_e2e_test": false, |
165 |
| - "build_hello_wasm": true, |
166 |
| - "clean_build_dir": false, |
167 |
| - "free_disk_space": false, |
168 |
| - "only_swift_sdk": false, |
169 |
| - } |
170 |
| - end |
171 |
| - end |
172 | 74 |
|
173 | 75 | schemes = derive_schemes(options)
|
174 | 76 | schemes = schemes
|
|
0 commit comments