Skip to content

Commit 730d390

Browse files
sverweijarcanis
authored andcommitted
ci(circleci): prevent timeout on circle-ci macos node10 build (#7651)
The circle ci job for macOS on node 10 currently fails because it takes too long (both PR's #7649 and #7650 don't green because of that). A big chunk of the time is taken by updating homebrew - which in this macOS (the one connected to xcode 9 => macOS 10.12) does not contain node 10 by default. This change: - sets the required xcode version to 11.0 -> this gets us a more up to date macOS version (except for node 6, which isn't available in the homebrew associated with xcode 11) - removes the brew update from the macOS node 10 job
1 parent 79a96e3 commit 730d390

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ docker_defaults: &docker_defaults
77

88
macos_defaults: &macos_defaults
99
macos:
10-
xcode: "9.0"
10+
xcode: "11.0"
1111
working_directory: ~/project/yarn
1212

1313
attach_workspace: &attach_workspace
@@ -155,7 +155,6 @@ jobs:
155155
name: Install Node 10
156156
command: |
157157
brew uninstall --ignore-dependencies node
158-
brew update
159158
HOMEBREW_NO_AUTO_UPDATE=1 brew install node@10
160159
brew link --overwrite --force node@10
161160
[[ $(node --version) =~ ^v10\. ]]
@@ -177,6 +176,8 @@ jobs:
177176
- *test_run
178177
test-macos-node6:
179178
<<: *macos_defaults
179+
macos:
180+
xcode: "9.0"
180181
steps:
181182
- run:
182183
name: Install Node 6

0 commit comments

Comments
 (0)