Skip to content

Commit 7eb42df

Browse files
Merge branch 'main' into yt/swift-testing
2 parents fe255c3 + 6a4b007 commit 7eb42df

File tree

50 files changed

+3326
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3326
-24
lines changed

.github/scripts/build-matrix.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04",
2828
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:cc1b99e352ee207da2c75c7bcf81aa8b1d2c08215fd1d05dc0777c40a62f31f1",
2929
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:cc1b99e352ee207da2c75c7bcf81aa8b1d2c08215fd1d05dc0777c40a62f31f1",
30-
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:cc1b99e352ee207da2c75c7bcf81aa8b1d2c08215fd1d05dc0777c40a62f31f1",
30+
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:9007661fb6d57ebef902618e831458e88068350b0ecc8d85e56441d25a9f4312",
3131
},
3232
"run_stdlib_test": true,
3333
"run_full_test": false,
@@ -45,7 +45,7 @@
4545
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04",
4646
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:adfa0a8fbc6e5cc7ce5e38a5a9406d4fa5c557871204a65f0690478022d6b359",
4747
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:adfa0a8fbc6e5cc7ce5e38a5a9406d4fa5c557871204a65f0690478022d6b359",
48-
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:adfa0a8fbc6e5cc7ce5e38a5a9406d4fa5c557871204a65f0690478022d6b359",
48+
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2",
4949
},
5050
"run_stdlib_test": true,
5151
"run_full_test": false,
@@ -63,7 +63,7 @@
6363
"main": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2",
6464
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:d5264ac43e935249b1c8777f6809ebbd2836cb0e8f7dac3bfeeb0b3cdb479b70",
6565
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:d5264ac43e935249b1c8777f6809ebbd2836cb0e8f7dac3bfeeb0b3cdb479b70",
66-
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:d5264ac43e935249b1c8777f6809ebbd2836cb0e8f7dac3bfeeb0b3cdb479b70",
66+
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-amazon-linux-2@sha256:fc95912c595faecacbb869635fa871f8f31b8d6ed2f0df6792b53628db7ada94",
6767
},
6868
"run_stdlib_test": false,
6969
"run_full_test": false,
@@ -94,6 +94,7 @@
9494
"run_e2e_test": true,
9595
"build_hello_wasm": true,
9696
"clean_build_dir": true,
97+
"free_disk_space": true,
9798
"only_swift_sdk": false,
9899
},
99100
{
@@ -116,7 +117,7 @@
116117
"target": "ubuntu22.04_x86_64",
117118
"containers": {
118119
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04",
119-
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:adfa0a8fbc6e5cc7ce5e38a5a9406d4fa5c557871204a65f0690478022d6b359",
120+
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:8060adba9c044b1fc751b9671167320c9cc0094d0a45d7b8fedb707c49b764c2",
120121
},
121122
"run_stdlib_test": true,
122123
"run_full_test": false,
@@ -187,7 +188,7 @@ def main
187188
"main": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04",
188189
# "release-5.9": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:0e04dd550557d9f4f773bda55a6ac355c7c9696ea6efc3e59318bd49569aa00e",
189190
"release-5.10": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:0e04dd550557d9f4f773bda55a6ac355c7c9696ea6efc3e59318bd49569aa00e",
190-
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:0e04dd550557d9f4f773bda55a6ac355c7c9696ea6efc3e59318bd49569aa00e",
191+
"release-6.0": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04@sha256:2a977060476a0f6f702d59ed0cd4e8506c7c1f1ed48d85a1a684d2d3fb62c297",
191192
},
192193
"run_stdlib_test": false,
193194
"run_full_test": false,

.github/workflows/build-toolchain.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ${{ matrix.agent_query }}
122122
steps:
123123
- name: Free disk space
124-
if: ${{ matrix.free_disk_space }}
124+
if: ${{ matrix.free_disk_space && !startsWith(matrix.build_os, 'macos-') }}
125125
run: |
126126
df -h
127127
sudo rm -rf /opt/hostedtoolcache
@@ -133,6 +133,18 @@ jobs:
133133
fi
134134
df -h
135135
136+
- name: Free disk space by removing unused Xcode
137+
if: ${{ matrix.free_disk_space && startsWith(matrix.build_os, 'macos-') }}
138+
run: |
139+
IN_USE_XCODE=$(xcode-select -p)
140+
echo "Removing all Xcode installations except $IN_USE_XCODE"
141+
for xcode in /Applications/Xcode*.app; do
142+
if [[ $IN_USE_XCODE != "$xcode"* ]]; then
143+
echo "Removing $xcode"
144+
rm -rf $xcode
145+
fi
146+
done
147+
136148
- uses: actions/checkout@v4
137149
with:
138150
path: swiftwasm-build

0 commit comments

Comments
 (0)