name: Run Benchmarks
on:
workflow_dispatch:
schedule: - cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
benchmarks:
runs-on: ubuntu-latest
strategy:
matrix:
rust-version: [ "1.85.0", "stable" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust ${{ matrix.rust-version }}
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
cache: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang curl pkg-config libssl-dev make
make install-deps
- name: Run benchmarks
run: make bench