Skip to content

run benchmarks on github workflow on ubuntu #30

run benchmarks on github workflow on ubuntu

run benchmarks on github workflow on ubuntu #30

Workflow file for this run

name: Main
on: [push, pull_request]
jobs:
main:
name: ${{ matrix.os }} - ${{ matrix.rust }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, nightly]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy, rustfmt
- run: cargo build
- run: cargo test
- run: cargo fmt -- --check
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: cargo clippy
continue-on-error: true
- run: cargo bench
if: ${{ matrix.os == 'ubuntu-latest' }}