Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change zksolc version in CI #20

Merged
merged 25 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ jobs:
tool: cargo-nextest

- name: Download zksolc compiler
run: curl -L https://github.com/matter-labs/era-compiler-solidity/releases/download/1.5.0/zksolc-linux-amd64-musl-v1.5.0 --output zksolc && chmod +x zksolc && sudo mv zksolc /usr/bin/zksolc
run: curl -L https://github.com/matter-labs/zksolc-bin/releases/download/v1.4.1/zksolc-linux-amd64-musl-v1.4.1 --output zksolc && chmod +x zksolc && sudo mv zksolc /usr/bin/zksolc

- name: Download solc compiler
run: curl -L https://github.com/ethereum/solidity/releases/download/v0.8.25/solc-static-linux --output solc && chmod +x solc && sudo mv solc /usr/bin/solc

- name: Compile test programs
run: make compile-programs && ./move_artifacts.sh
run: make compile-programs

- name: Run tests
run: cargo nextest run --workspace --all-features --no-capture
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

- [Rust](https://www.rust-lang.org/tools/install)
- [The EraVM Compiler: zksolc](https://github.com/matter-labs/zksolc-bin). Download the latest binary, then put it under your path. If done correctly, running `zksolc --version` should return a sensible value.
- [The EraVM Compiler: zksolc 1.4.1](https://github.com/matter-labs/zksolc-bin). Download the [latest binary](https://github.com/matter-labs/zksolc-bin/releases/tag/v1.4.1), then put it under your path. If done correctly, running `zksolc --version` should return 1.4.1.

## Compiling programs

Expand Down