Skip to content

Commit

Permalink
build: fix compile on CircleCI (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz authored Aug 22, 2023
1 parent 63df83b commit 7f51495
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
unzip ~/.gorse/download/frappe.zip -d ~/.gorse/dataset
unzip ~/.gorse/download/ml-tag.zip -d ~/.gorse/dataset
unzip ~/.gorse/download/criteo.zip -d ~/.gorse/dataset
- run:
name: Upgrade Go
command: |
wget https://golang.org/dl/go1.21.0.linux-arm64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go1.21.0.linux-arm64.tar.gz
- restore_cache:
keys:
- go-mod-v4-{{ checksum "go.sum" }}
Expand Down Expand Up @@ -117,6 +123,9 @@ jobs:
Expand-Archive ~/.gorse/download/frappe.zip -DestinationPath ~/.gorse/dataset
Expand-Archive ~/.gorse/download/ml-tag.zip -DestinationPath ~/.gorse/dataset
Expand-Archive ~/.gorse/download/criteo.zip -DestinationPath ~/.gorse/dataset
- run:
name: Upgrade Go
command: choco upgrade golang -y
- restore_cache:
keys:
- go-mod-v4-{{ checksum "go.sum" }}
Expand Down

0 comments on commit 7f51495

Please sign in to comment.