Skip to content

Commit 8bd9d02

Browse files
authored
Move the Mac tester behind the common Linux builder (#23899)
Make it run with a frozen cache to cut the builder time.
1 parent 18fd8e7 commit 8bd9d02

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.circleci/config.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,12 @@ commands:
219219
- emsdk-env
220220
- bootstrap
221221
- pip-install
222+
remove-linux-binaries:
223+
description: "Remove linux binaries from workspace"
224+
steps:
225+
- run:
226+
name: "Remove Linux binaries"
227+
command: rm -rf ~/emsdk ~/vms ~/.jsvu ~/wasi-sdk
222228
upload-test-results:
223229
description: "Upload test results"
224230
steps:
@@ -333,7 +339,10 @@ commands:
333339
# Use --force-bottle to force homebrew use binary packages avoiding
334340
# costly build times.
335341
command: brew install --force-bottle cmake ninja pkg-config
342+
- attach_workspace:
343+
at: ~/
336344
- checkout
345+
- remove-linux-binaries
337346
- run:
338347
name: submodule update
339348
command: git submodule update --init
@@ -1063,6 +1072,7 @@ jobs:
10631072
steps:
10641073
- setup-macos
10651074
- install-emsdk
1075+
- freeze-cache
10661076
# TODO: We can't currently do pip install here since numpy and other packages
10671077
# are currently missing arm64 macos binaries.
10681078
- run-tests:
@@ -1125,4 +1135,6 @@ workflows:
11251135
- test-spidermonkey
11261136
- test-node-compat
11271137
- test-windows
1128-
- test-mac-arm64
1138+
- test-mac-arm64:
1139+
requires:
1140+
- build-linux

0 commit comments

Comments
 (0)