-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
small improvements + run standard tests with native prover
- Loading branch information
Showing
6 changed files
with
80 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,28 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
build-test: | ||
name: Build and test native | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly-2024-04-17 | ||
profile: minimal | ||
- name: Install cargo-binstall | ||
uses: cargo-bins/[email protected] | ||
- run: export TARGET=native CI=1 MOCK=1 | ||
- name: Install native | ||
run: make install | ||
- name: Build native prover | ||
run: make build | ||
- name: Test native prover | ||
run: make test | ||
|
||
build-test-risc0: | ||
name: Build and test risc0 | ||
runs-on: ubuntu-latest | ||
|
@@ -31,12 +53,13 @@ jobs: | |
- name: Install cargo-binstall | ||
uses: cargo-bins/[email protected] | ||
- uses: risc0/risc0/.github/actions/[email protected] | ||
- run: export TARGET=risc0 CI=1 MOCK=1 | ||
- name: Install risc0 | ||
run: TARGET="risc0" CI=1 make install | ||
run: make install | ||
- name: Build risc0 prover | ||
run: TARGET="risc0" make build | ||
run: make build | ||
- name: Test risc0 prover | ||
run: MOCK=1 TARGET="risc0" make test | ||
run: make test | ||
|
||
build-test-sp1: | ||
name: Build and test sp1 | ||
|
@@ -52,12 +75,13 @@ jobs: | |
profile: minimal | ||
- name: Install cargo-binstall | ||
uses: cargo-bins/[email protected] | ||
- run: export TARGET=sp1 CI=1 MOCK=1 | ||
- name: Install sp1 | ||
run: TARGET="sp1" CI=1 make install | ||
run: make install | ||
- name: Build sp1 prover | ||
run: TARGET="sp1" make build | ||
run: make build | ||
- name: Test sp1 prover | ||
run: MOCK=1 TARGET="sp1" make test | ||
run: make test | ||
|
||
build-test-sgx: | ||
name: Build and test sgx | ||
|
@@ -73,12 +97,13 @@ jobs: | |
profile: minimal | ||
- name: Install cargo-binstall | ||
uses: cargo-bins/[email protected] | ||
- run: export TARGET=sgx CI=1 MOCK=1 SGX_DIRECT=1 | ||
- name: Install sgx | ||
run: TARGET="sgx" CI=1 make install | ||
run: make install | ||
- name: Build sgx prover | ||
run: TARGET="sgx" make build | ||
run: make build | ||
- name: Test sgx prover | ||
run: TARGET="sgx" SGX_DIRECT=1 make test | ||
run: make test | ||
|
||
build-test-sgx-with-docker: | ||
name: Build and test sgx with Docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters