Skip to content

Merge branch 'v2' of https://github.com/summa-dev/summa-solvency into v2 #1

Merge branch 'v2' of https://github.com/summa-dev/summa-solvency into v2

Merge branch 'v2' of https://github.com/summa-dev/summa-solvency into v2 #1

Workflow file for this run

name: Benchmark
on:
workflow_dispatch:
inputs:
run_benchmark:
description: 'Run benchmark tests (yes/no)'
required: true
default: 'no'
<<<<<<< HEAD

Check failure on line 11 in .github/workflows/benchmark.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/benchmark.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
env:
CARGO_TERM_COLOR: always
=======
>>>>>>> fec83a747ead213261aecfaf4a01b43fff9731ee
jobs:
wakeup:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.run_benchmark == 'yes' }}
permissions:
id-token: write
contents: read
<<<<<<< HEAD
=======
>>>>>>> fec83a747ead213261aecfaf4a01b43fff9731ee
steps:
- uses: actions/checkout@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::490752553772:role/summa-solvency-ec2-slc
role-duration-seconds: 900
aws-region: us-west-2
- name: Wakeup runner
run: .github/scripts/wakeup.sh
benchmark:
runs-on: [summa-solvency-runner]
needs: [wakeup]
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.run_benchmark == 'yes' }}
steps:
- uses: actions/checkout@v3
<<<<<<< HEAD
- name: Run Benchmark
run: |
cd zk_prover
=======
- name: Run Benchmark Tests
run: |
cd prover
>>>>>>> fec83a747ead213261aecfaf4a01b43fff9731ee
cargo bench
- name: Upload Benchmark Results
uses: actions/upload-artifact@v2
with:
name: benchmark-results
<<<<<<< HEAD
path: zk_prover/target/criterion
=======
path: prover/target/criterion
>>>>>>> fec83a747ead213261aecfaf4a01b43fff9731ee