-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade CircleCI macOS builders to m1 (#6688)
Only show in developer changelog
- Loading branch information
1 parent
432a91c
commit 740c7ae
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,24 @@ | |
version: 2.1 | ||
orbs: | ||
aws-cli: circleci/[email protected] | ||
macos: circleci/[email protected] # For Rosetta (see below) | ||
node: circleci/[email protected] # For a recent npm version (see below) | ||
jobs: | ||
# Build the **entire** app for macOS. | ||
build-macos: | ||
macos: | ||
xcode: 14.2.0 | ||
resource_class: macos.m1.large.gen1 | ||
steps: | ||
- checkout | ||
# Install Rosetta for AWS CLI and disable TSO to speed up S3 uploads (https://support.circleci.com/hc/en-us/articles/19334402064027-Troubleshooting-slow-uploads-to-S3-for-jobs-using-an-m1-macOS-resource-class) | ||
- macos/install-rosetta | ||
- run: sudo sysctl net.inet.tcp.tso=0 | ||
|
||
# Install a recent version of npm to workaround a notarization issue because of a symlink made by npm: https://github.com/electron-userland/electron-builder/issues/7755 | ||
# Node.js v20.14.0 comes with npm v10.7.0. | ||
- node/install: | ||
node-version: "20.14.0" | ||
|
||
# System dependencies (for Emscripten and upload) | ||
- run: | ||
|