ensure submodules are initialized
This commit is contained in:
parent
c694853ddb
commit
5874d90719
@ -7,12 +7,15 @@ executors:
|
|||||||
- image: circleci/golang:1.13
|
- image: circleci/golang:1.13
|
||||||
resource_class: 2xlarge
|
resource_class: 2xlarge
|
||||||
commands:
|
commands:
|
||||||
|
prepare-git-checkout:
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: git submodule sync
|
||||||
|
- run: git submodule update --init --recursive
|
||||||
install-build-dependencies:
|
install-build-dependencies:
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
- run: sudo apt-get install -y jq ocl-icd-opencl-dev
|
- run: sudo apt-get install -y jq ocl-icd-opencl-dev
|
||||||
- run: git submodule sync
|
|
||||||
- run: git submodule update --init --recursive
|
|
||||||
- run: ./extern/filecoin-ffi/install-filcrypto
|
- run: ./extern/filecoin-ffi/install-filcrypto
|
||||||
download-groth-params-and-verifying-keys:
|
download-groth-params-and-verifying-keys:
|
||||||
steps:
|
steps:
|
||||||
@ -39,27 +42,27 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
RUST_LOG: info
|
RUST_LOG: info
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- prepare-git-checkout
|
||||||
- install-build-dependencies
|
- install-build-dependencies
|
||||||
- download-groth-params-and-verifying-keys
|
- download-groth-params-and-verifying-keys
|
||||||
- run: go test -v -timeout 10m ./...
|
- run: go test -v -timeout 10m ./...
|
||||||
mod-tidy-check:
|
mod-tidy-check:
|
||||||
executor: golang
|
executor: golang
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- prepare-git-checkout
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- go/mod-tidy-check
|
- go/mod-tidy-check
|
||||||
gofmt-check:
|
gofmt-check:
|
||||||
executor: golang
|
executor: golang
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- prepare-git-checkout
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- run:
|
- run:
|
||||||
command: "! go fmt ./... 2>&1 | read"
|
command: "! go fmt ./... 2>&1 | read"
|
||||||
lint-check:
|
lint-check:
|
||||||
executor: golang
|
executor: golang
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- prepare-git-checkout
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- go/install-golangci-lint:
|
- go/install-golangci-lint:
|
||||||
gobin: $HOME/.local/bin
|
gobin: $HOME/.local/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user