Skip to content

Commit 83ab61e

Browse files
aykevldeadprogram
authored andcommitted
ci: install Go 1.12.5 on macOS
This should fix compatibility with the Go 1.12 stdlib: #368
1 parent 2504754 commit 83ab61e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ commands:
163163
- run:
164164
name: "Install dependencies"
165165
command: |
166-
HOMEBREW_NO_AUTO_UPDATE=1 brew install go qemu
166+
curl https://dl.google.com/go/go1.12.5.darwin-amd64.tar.gz -o go1.12.5.darwin-amd64.tar.gz
167+
sudo tar -C /usr/local -xzf go1.12.5.darwin-amd64.tar.gz
168+
ln -s /usr/local/go/bin/go /usr/local/bin/go
169+
HOMEBREW_NO_AUTO_UPDATE=1 brew install qemu
167170
- restore_cache:
168171
keys:
169172
- llvm-source-8-macos-v3

0 commit comments

Comments
 (0)