-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): building provers for tests (#360)
* fix CI * fix ci Signed-off-by: smtmfft <[email protected]> * fix ci Signed-off-by: smtmfft <[email protected]> * fix ci * fix ci Signed-off-by: smtmfft <[email protected]> * fix ci Signed-off-by: smtmfft <[email protected]> * fix ci Signed-off-by: smtmfft <[email protected]> * chore(host): add more descriptive asserts * fix(host): use blob proof type other than none * fix(host): add `to_string` call * revert install.sh Signed-off-by: smtmfft <[email protected]> * chore(ci): remove integration from CI until cwd fix * revert ci changes Signed-off-by: smtmfft <[email protected]> --------- Signed-off-by: smtmfft <[email protected]> Co-authored-by: Petar Vujovic <[email protected]>
- Loading branch information
1 parent
f1a773d
commit 4f9204a
Showing
5 changed files
with
56 additions
and
50 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 |
---|---|---|
|
@@ -26,28 +26,26 @@ jobs: | |
CI: 1 | ||
MOCK: 1 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ inputs.version_toolchain }} | ||
profile: minimal | ||
|
||
- name: Install cargo-binstall | ||
uses: cargo-bins/[email protected] | ||
|
||
- name: Setup sccache | ||
if: ${{ inputs.version_name }} == risc0 | ||
uses: risc0/risc0/.github/actions/[email protected] | ||
|
||
- name: Install ${{ inputs.version_name }} | ||
run: make install | ||
|
||
- name: Build ${{ inputs.version_name }} prover | ||
run: make build | ||
|
||
- name: Run integration test for ${{ inputs.version_name }} prover | ||
run: make integration | ||
# TODO:(petar) re add to CI after fixing sgx directory setup | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# submodules: recursive | ||
# | ||
# - uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: ${{ inputs.version_toolchain }} | ||
# profile: minimal | ||
# | ||
# - name: Setup sccache | ||
# if: ${{ inputs.version_name }} == risc0 | ||
# uses: risc0/risc0/.github/actions/[email protected] | ||
# | ||
# - name: Install ${{ inputs.version_name }} | ||
# run: make install | ||
# | ||
# - name: Build ${{ inputs.version_name }} prover | ||
# run: make build | ||
# | ||
# - name: Run integration test for ${{ inputs.version_name }} prover | ||
# run: make integration |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
pub const RISC0_GUEST_ELF: &[u8] = | ||
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest"); | ||
pub const RISC0_GUEST_ID: [u32; 8] = [ | ||
572111947, 771021978, 3238057507, 2574084743, 2728391593, 45804239, 3180160159, 786246815, | ||
480687899, 2174307554, 3476860359, 3243974848, 2470546824, 868279999, 2732634741, 2619104561, | ||
]; |