Updated blst to latest c-kzg hash #168
Workflow file for this run
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: blst benchmarks | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
C_KZG_4844_GIT_HASH: 'fbef59a3f9e8fa998bdb5069d212daf83d586aa5' | |
jobs: | |
benchmarks: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-11] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: "temurin" | |
java-version: "11" | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.19 | |
- name: "[blst] Benchmark" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: bench | |
args: --manifest-path blst/Cargo.toml | |
- name: "[blst] Benchmark (parallel)" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: bench | |
args: --manifest-path blst/Cargo.toml --features parallel | |
- name: "[blst] Benchmark (c-kzg-4844)" | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
cd blst && bash run-c-kzg-4844-benches.sh | |
- name: "[blst] Benchmark (c-kzg-4844 parallel)" | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
cd blst && bash run-c-kzg-4844-benches.sh --parallel |