Updated blst to latest c-kzg hash #154
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: mcl benchmarks | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
C_KZG_4844_GIT_HASH: '5703f6f3536b7692616bc289ac3f3867ab8db9d8' | |
jobs: | |
benchmarks: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
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: "[mcl] Build native libs for Linux" | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
cd mcl/kzg && bash build.sh | |
- name: "[mcl] Benchmark" | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
cargo bench --manifest-path mcl/kzg-bench/Cargo.toml | |
- name: "[mcl] Benchmark (parallel)" | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
cargo bench --manifest-path mcl/kzg-bench/Cargo.toml --features rust-kzg-mcl/parallel | |
#- name: "[mcl] Benchmark (c-kzg-4844)" | |
# if: matrix.os == 'ubuntu-latest' | |
# run: | | |
# cd mcl/kzg && bash run-c-kzg-4844-benches.sh | |
#- name: "[mcl] Benchmark (c-kzg-4844 parallel)" | |
# if: matrix.os == 'ubuntu-latest' | |
# run: | | |
# cd mcl/kzg && bash run-c-kzg-4844-benches.sh --parallel |