From 1c57ea3245d3fd6ebbac3d0104ea24858b98e327 Mon Sep 17 00:00:00 2001 From: taskooh Date: Thu, 11 Jul 2024 21:00:37 +0900 Subject: [PATCH] WIP --- .github/workflows/test-single-ci.yml | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/test-single-ci.yml diff --git a/.github/workflows/test-single-ci.yml b/.github/workflows/test-single-ci.yml new file mode 100644 index 00000000..f16e87ff --- /dev/null +++ b/.github/workflows/test-single-ci.yml @@ -0,0 +1,38 @@ +name: Rust CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + run_groth16_binary: + name: Run Groth16 Binary + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + rustflags: "-A warnings" + + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- + + - name: Run groth16 binary + run: ./run_groth16.zsh