Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Commit 60cbddf

Browse files
committed
Update CI config
1 parent 38a6858 commit 60cbddf

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.circleci/config.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2.1
55
jobs:
66
lint:
77
docker:
8-
- image: circleci/golang:1.16
8+
- image: circleci/golang:1.17
99

1010
steps:
1111
- checkout
@@ -23,7 +23,7 @@ jobs:
2323
2424
build-linux:
2525
docker:
26-
- image: circleci/golang:1.16
26+
- image: circleci/golang:1.17
2727

2828
steps:
2929
- checkout
@@ -105,7 +105,7 @@ jobs:
105105

106106
build-macos:
107107
macos:
108-
xcode: "10.0.0"
108+
xcode: "13.0.0"
109109

110110
working_directory: ~/go/src/github.com/yggdrasil-network/yggdrasil-go
111111

@@ -124,11 +124,11 @@ jobs:
124124
echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
125125
126126
- run:
127-
name: Install Go 1.16
127+
name: Install Go 1.17
128128
command: |
129129
cd /tmp
130-
curl -LO https://dl.google.com/go/go1.16.darwin-amd64.pkg
131-
sudo installer -pkg /tmp/go1.16.darwin-amd64.pkg -target /
130+
curl -LO https://dl.google.com/go/go1.17.darwin-amd64.pkg
131+
sudo installer -pkg /tmp/go1.17.darwin-amd64.pkg -target /
132132
133133
#- run:
134134
# name: Install Gomobile
@@ -142,11 +142,15 @@ jobs:
142142
GO111MODULE=on GOOS=darwin GOARCH=amd64 ./build
143143
cp yggdrasil /tmp/upload/$CINAME-$CIVERSION-darwin-amd64
144144
cp yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-darwin-amd64;
145+
GO111MODULE=on GOOS=darwin GOARCH=arm64 ./build
146+
cp yggdrasil /tmp/upload/$CINAME-$CIVERSION-darwin-arm64
147+
cp yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-darwin-arm64;
145148
146149
- run:
147150
name: Build for macOS (.pkg format)
148151
command: |
149152
PKGARCH=amd64 sh contrib/macos/create-pkg.sh
153+
PKGARCH=arm64 sh contrib/macos/create-pkg.sh
150154
mv *.pkg /tmp/upload/
151155
152156
#- run:
@@ -164,7 +168,7 @@ jobs:
164168

165169
build-other:
166170
docker:
167-
- image: circleci/golang:1.16
171+
- image: circleci/golang:1.17
168172

169173
steps:
170174
- checkout

0 commit comments

Comments
 (0)