Skip to content

Commit 3d1833f

Browse files
authored
ZKVM-1429: Cleanups and Improvements (#10)
* use risc0 precompiles * run clang-format * use target vendor * use R0VM * fix * enable no-threads by default on zkvm * add risc0 tests * fix CI * remove temp workflow * accelerate sgn0_pty_mont_384 * cleanups * remove merge artefacts * clang format * cleanups * make it a proper function
1 parent a08fdb8 commit 3d1833f

File tree

19 files changed

+584
-628
lines changed

19 files changed

+584
-628
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 270 deletions
This file was deleted.

.github/workflows/golang-lint.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/risc0.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: risc0
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
branches: [ master, risc0, "release-*" ]
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
16+
jobs:
17+
r0vm-tests:
18+
runs-on: [ self-hosted, prod, Linux, gpu ]
19+
env:
20+
RUST_LOG: info
21+
RUST_BACKTRACE: full
22+
RISC0_INFO: true
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: risc0/risc0/.github/actions/cuda@352dea62857ba57331053cd0986a12c1a4708732
26+
- uses: risc0/risc0/.github/actions/rustup@352dea62857ba57331053cd0986a12c1a4708732
27+
- name: install rzup
28+
run: |
29+
curl -L https://risczero.com/install | bash
30+
echo "$HOME/.risc0/bin" >> $GITHUB_PATH
31+
shell: bash
32+
- name: install risc0 toolchain
33+
run: rzup install --verbose
34+
shell: bash
35+
- name: cargo test
36+
run: cargo test --release -F cuda
37+
working-directory: bindings/rust

0 commit comments

Comments
 (0)