lotus/.circleci/config.yml

40 lines
758 B
YAML
Raw Normal View History

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:
golang:
docker:
- image: circleci/golang:1.14.6
resource_class: 2xlarge
2020-06-23 18:59:39 +00:00
workflows:
version: 2
main:
jobs:
- soup-build-linux
2020-06-23 18:59:39 +00:00
jobs:
soup-build-linux:
executor: golang
steps:
- setup
- run:
name: "build lotus-soup"
command: pushd lotus-soup && go build -tags=testground .