2020-06-23 18:59:39 +00:00
|
|
|
---
|
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
workspace-dir:
|
|
|
|
type: string
|
|
|
|
default: "/home/circleci"
|
|
|
|
|
|
|
|
commands:
|
|
|
|
setup:
|
|
|
|
description: "install go, checkout and restore cache"
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: sudo apt-get update
|
|
|
|
- run: sudo apt-get install ocl-icd-opencl-dev
|
|
|
|
- run: git submodule sync
|
|
|
|
- run: git submodule update --init
|
|
|
|
- run: cd extra/filecoin-ffi && make
|
|
|
|
|
|
|
|
executors:
|
2020-09-16 12:52:51 +00:00
|
|
|
golang:
|
|
|
|
docker:
|
|
|
|
- image: circleci/golang:1.14.6
|
|
|
|
resource_class: 2xlarge
|
2020-06-23 18:59:39 +00:00
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
main:
|
|
|
|
jobs:
|
2020-08-05 18:59:57 +00:00
|
|
|
- soup-build-linux
|
2020-06-23 18:59:39 +00:00
|
|
|
|
|
|
|
jobs:
|
2020-08-05 18:59:57 +00:00
|
|
|
soup-build-linux:
|
2020-09-16 12:52:51 +00:00
|
|
|
executor: golang
|
2020-08-05 18:59:57 +00:00
|
|
|
steps:
|
|
|
|
- setup
|
|
|
|
- run:
|
|
|
|
name: "build lotus-soup"
|
|
|
|
command: pushd lotus-soup && go build -tags=testground .
|