-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap
corset
for go-corset
on CI build
This swaps out the Rust `corset` tool for the new `go-corset` tool in the CI build. This will help to ensure that the constraints always compile with `go-corset`.
- Loading branch information
1 parent
24c71a5
commit 1081825
Showing
1 changed file
with
7 additions
and
17 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 |
---|---|---|
|
@@ -10,22 +10,12 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# The asset URL for the latest release can be found with: | ||
# curl -L -H "Accept: application/vnd.github+json" \ | ||
# -H "Authorization: Bearer YOUR_GH_API_TOKEN" \ | ||
# -H "X-GitHub-Api-Version: 2022-11-28" \ | ||
# https://api.github.com/repos/ConsenSys/corset/releases/latest | ||
# | jq '.assets[] | select(.name|endswith("x86_64-unknown-linux-musl.tar.gz")) | .url' | ||
- name: Download Corset | ||
run: | | ||
curl -L \ | ||
-H "Accept: application/octet-stream" \ | ||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
-o corset.tar.gz \ | ||
https://api.github.com/repos/Consensys/corset/releases/assets/203897668 | ||
tar xzf corset.tar.gz | ||
mv corset $HOME | ||
- name: Install Go | ||
uses: actions/[email protected] | ||
|
||
- name: Install Go Corset | ||
shell: bash | ||
run: go install github.com/consensys/go-corset/cmd/go-corset@latest | ||
|
||
- name: Build the constraint system | ||
run: CORSET=$HOME/corset make -B zkevm.bin | ||
run: make -B zkevm.go.bin |