Test Circuit #230
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
name: Test Circuit | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
- staging | |
jobs: | |
rust-circuit: | |
runs-on: ubuntu-latest-16core-64ram | |
env: | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
steps: | |
- uses: actions/checkout@v3 | |
# Even with deploy key this is needed on the first checkout to tell git to use ssh (??) | |
- name: Give GitHub Actions access to axiom-crypto/axiom-eth-working | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: | | |
${{ secrets.AXIOM_ETH_DEPLOY_PRIVATE_KEY }} | |
${{ secrets.AXIOM_TOOLS_DEPLOY_PRIVATE_KEY }} | |
- name: Build circuit V1 | |
working-directory: ./circuit | |
run: | | |
cargo build --features "v1, keygen" --verbose | |
- name: Build circuit V2 | |
working-directory: ./circuit | |
run: | | |
cargo build --features "v2, keygen" --verbose |