Merge pull request #3856 from filecoin-project/compile-lotus-soup-testplan

add filecoin-project oni as submodule and compile lotus-soup
This commit is contained in:
Łukasz Magiera 2020-09-16 22:54:34 +02:00 committed by GitHub
commit 34d31d8124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

View File

@ -254,6 +254,25 @@ jobs:
path: /tmp/test-reports path: /tmp/test-reports
- store_artifacts: - store_artifacts:
path: /tmp/test-artifacts/conformance-coverage.html path: /tmp/test-artifacts/conformance-coverage.html
build-lotus-soup:
description: |
Compile `lotus-soup` Testground test plan using the current version of Lotus.
parameters:
<<: *test-params
executor: << parameters.executor >>
steps:
- install-deps
- prepare
- run: cd extern/oni && git submodule sync
- run: cd extern/oni && git submodule update --init
- run: cd extern/filecoin-ffi && make
- run:
name: "replace lotus, filecoin-ffi, blst and fil-blst deps"
command: cd extern/oni/lotus-soup && go mod edit -replace github.com/filecoin-project/lotus=../../../ && go mod edit -replace github.com/filecoin-project/filecoin-ffi=../../filecoin-ffi && go mod edit -replace github.com/supranational/blst=../../fil-blst/blst && go mod edit -replace github.com/filecoin-project/fil-blst=../../fil-blst
- run:
name: "build lotus-soup testplan"
command: pushd extern/oni/lotus-soup && go build -tags=testground .
build-macos: build-macos:
description: build darwin lotus binary description: build darwin lotus binary
@ -428,6 +447,7 @@ workflows:
test-suite-name: conformance-bleeding-edge test-suite-name: conformance-bleeding-edge
packages: "./conformance" packages: "./conformance"
vectors-branch: master vectors-branch: master
- build-lotus-soup
- build-debug - build-debug
- build-all: - build-all:
requires: requires:

3
.gitmodules vendored
View File

@ -11,3 +11,6 @@
[submodule "extern/fil-blst"] [submodule "extern/fil-blst"]
path = extern/fil-blst path = extern/fil-blst
url = https://github.com/filecoin-project/fil-blst.git url = https://github.com/filecoin-project/fil-blst.git
[submodule "extern/oni"]
path = extern/oni
url = https://github.com/filecoin-project/oni

1
extern/oni vendored Submodule

@ -0,0 +1 @@
Subproject commit 8b7e7d438c4cc38a0d2d671876d4590ad20655b3