Skip to content

Commit 8dce198

Browse files
[ci] build amazonlinux2 toolchain
1 parent 3fa11a0 commit 8dce198

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/scripts/build-matrix.rb

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@
3838
"clean_build_dir": false,
3939
"free_disk_space": true
4040
},
41+
{
42+
"build_os": "amazon-linux-2",
43+
"agent_query": "ubuntu-22.04",
44+
"target": "amazonlinux2_x86_64",
45+
"container": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2",
46+
"run_stdlib_test": false,
47+
"run_full_test": false,
48+
"run_e2e_test": false,
49+
"build_hello_wasm": true,
50+
"clean_build_dir": false,
51+
"free_disk_space": true
52+
},
4153
{
4254
"build_os": "macos-11",
4355
"agent_query": "macos-11",
@@ -72,19 +84,6 @@ def main
7284
matrix_entries = BASE_MATRIX_ENTRIES.dup
7385
if options[:runner]
7486
runner = JSON.parse(File.read(options[:runner]))
75-
if label = runner["outputs"]["amazonlinux2_x86_64-label"]
76-
matrix_entries << {
77-
"build_os": "amazon-linux-2",
78-
"agent_query": label,
79-
"target": "amazonlinux2_x86_64",
80-
"container": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2",
81-
"run_stdlib_test": false,
82-
"run_full_test": false,
83-
"run_e2e_test": false,
84-
"build_hello_wasm": true,
85-
"clean_build_dir": false
86-
}
87-
end
8887
if label = runner["outputs"]["ubuntu20_04_aarch64-label"]
8988
matrix_entries << {
9089
"build_os": "ubuntu-20.04",

0 commit comments

Comments
 (0)