Update mac builders to use Circle's gen2 mac runner (#1222)
This runner is faster and more efficient. Also factor the mac configuration into an executor.
This commit is contained in:
@@ -7,6 +7,15 @@ executors:
|
|||||||
bionic:
|
bionic:
|
||||||
docker:
|
docker:
|
||||||
- image: buildpack-deps:bionic
|
- image: buildpack-deps:bionic
|
||||||
|
mac:
|
||||||
|
environment:
|
||||||
|
EMSDK_NOTTY: "1"
|
||||||
|
# Without this, any `brew installl` command will result in self-update of
|
||||||
|
# brew itself which takes more than 4 minutes.
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE: "1"
|
||||||
|
macos:
|
||||||
|
xcode: "12.5.1"
|
||||||
|
resource_class: macos.x86.medium.gen2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flake8:
|
flake8:
|
||||||
@@ -48,13 +57,7 @@ jobs:
|
|||||||
source emsdk_env.sh
|
source emsdk_env.sh
|
||||||
test/test.py
|
test/test.py
|
||||||
test-mac:
|
test-mac:
|
||||||
macos:
|
executor: mac
|
||||||
xcode: "12.5.1"
|
|
||||||
environment:
|
|
||||||
EMSDK_NOTTY: "1"
|
|
||||||
# Without this, any `brew installl` command will result in self-update of
|
|
||||||
# brew itself which takes more than 4 minutes.
|
|
||||||
HOMEBREW_NO_AUTO_UPDATE: "1"
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
@@ -190,11 +193,7 @@ jobs:
|
|||||||
- run: test/test_bazel.sh
|
- run: test/test_bazel.sh
|
||||||
|
|
||||||
test-bazel-mac:
|
test-bazel-mac:
|
||||||
macos:
|
executor: mac
|
||||||
xcode: "12.5.1"
|
|
||||||
environment:
|
|
||||||
EMSDK_NOTTY: "1"
|
|
||||||
HOMEBREW_NO_AUTO_UPDATE: "1"
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: brew install grep
|
- run: brew install grep
|
||||||
|
|||||||
Reference in New Issue
Block a user