-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
80 changed files
with
13,893 additions
and
2,971 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
docker/* | ||
**/.DS_Store | ||
**/.idea | ||
out | ||
cache | ||
**/build | ||
**/target | ||
**/aligned_verification_data | ||
**/broadcast | ||
volume | ||
nonce_*.bin | ||
docker-compose.yaml | ||
.github/** | ||
**.md |
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: "[CI] Send proofs to network" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
paths-ignore: | ||
- '**.md' | ||
|
||
concurrency: | ||
group: pull_request-${{ github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
network-test-docker-compose: | ||
name: "Test network with Docker Compose" | ||
runs-on: aligned-runner-ci | ||
permissions: | ||
contents: read | ||
packages: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Build containers | ||
run: make docker_build | ||
|
||
- name: Start containers and initialize network | ||
run: make docker_up && sleep 15 | ||
|
||
- name: Send proofs batches | ||
run: make docker_batcher_send_all_proofs_burst | ||
|
||
- name: Verify all sent proofs | ||
run: make docker_verify_proof_submission_success | ||
|
||
- name: Stop containers | ||
continue-on-error: true | ||
if: always() | ||
run: make docker_down | ||
|
||
- name: Ensure admin permissions in _work | ||
if: always() | ||
run: sudo chown admin:admin -R /home/admin/actions-runner/_work/ |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: test-risc-zero-old | ||
|
||
on: | ||
merge_group: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: ["*"] | ||
paths: | ||
- "operator/risc_zero_old/**" | ||
- ".github/workflows/test-risc-zero-old.yml" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clear device space | ||
run: | | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf /usr/local/.ghcup | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
cache: false | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
- name: Test Old Risc Zero Rust | ||
run: make test_risc_zero_rust_ffi_old | ||
- name: Test Old Risc Zero go bindings | ||
run: make test_risc_zero_go_bindings_linux_old |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: test-sp1-old | ||
|
||
on: | ||
merge_group: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: ["*"] | ||
paths: | ||
- 'operator/sp1_old/**' | ||
- '.github/workflows/test-sp1-old.yml' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
cache: false | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
- name: Test Old SP1 Rust | ||
run: make test_sp1_rust_ffi_old | ||
- name: Test Old SP1 go bindings | ||
run: make test_sp1_go_bindings_linux_old |
Oops, something went wrong.