Skip to content

Commit

Permalink
Merge pull request #113 from Alexhuszagh/bench-ci
Browse files Browse the repository at this point in the history
Add benchmark CI workflow.
  • Loading branch information
Alexhuszagh authored Sep 9, 2024
2 parents fd115b9 + 91c5cd8 commit 05cc142
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Benchmarks

on:
[workflow_dispatch]

jobs:
build:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Minimimum dependency requires 1.74.0+
rust: [1.74.0, 1.76.0, 1.78.0, 1.80.0, 1.81.0]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{matrix.rust}}
- run: cargo check
- run: cargo build
- run: |
cd lexical-benchmark
cargo build
cargo bench

0 comments on commit 05cc142

Please sign in to comment.