Skip to content

Commit

Permalink
ci: explicitly switch macos build to silicon and upgrade xcode (#1720)
Browse files Browse the repository at this point in the history
* ci: explicitly switch macos build to silicon and upgrade xcode

https://discuss.circleci.com/t/macos-resource-deprecation-update/46891

* ci: install go for arm64 on apple silicon

* ci: install go via orb on apple silicon
  • Loading branch information
galargh authored Sep 27, 2023
1 parent 71eff92 commit 5e6af49
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: 2.1
orbs:
golang: circleci/[email protected]
go: gotest/[email protected]

executors:
Expand Down Expand Up @@ -145,18 +146,15 @@ jobs:
build-macos:
description: build darwin boost binary
macos:
xcode: "12.5.1"
xcode: "15.0.0"
working_directory: ~/go/src/github.com/filecoin-project/boost
resource_class: macos.x86.medium.gen2
steps:
- prepare:
linux: false
darwin: true
- run:
name: Install go
command: |
curl -O https://dl.google.com/go/go1.19.5.darwin-amd64.pkg && \
sudo installer -pkg go1.19.5.darwin-amd64.pkg -target /
- golang/install:
version: "1.19.5"
- run:
name: Install pkg-config
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config
Expand Down

0 comments on commit 5e6af49

Please sign in to comment.