ci: fix statediff build; make optional.

This commit is contained in:
Raúl Kripalani 2020-09-10 10:41:18 +01:00
parent 767341b279
commit 9e5bce90f4

View File

@ -231,11 +231,11 @@ jobs:
- run: - run:
name: install statediff globally name: install statediff globally
command: | command: |
## statediff is optional; we succeed even if compilation fails.
mkdir -p /tmp/statediff mkdir -p /tmp/statediff
git clone https://github.com/filecoin-project/statediff.git /tmp/statediff git clone https://github.com/filecoin-project/statediff.git /tmp/statediff
cd /tmp/statediff cd /tmp/statediff
go generate ./... go install ./cmd/statediff || exit 0
go install ./cmd/statediff
- run: - run:
name: go test name: go test
environment: environment: