Compare commits

..

5 Commits

4 changed files with 9 additions and 35 deletions

View File

@ -6,7 +6,7 @@ concurrency:
on:
push:
branches: [main, update_docs_workflow]
branches: [main]
# pull_request:
# branches: [main]
workflow_dispatch:

View File

@ -1,29 +0,0 @@
name: Run benchmarks
on:
workflow_dispatch:
push:
branches:
- main
jobs:
run-benchmarks:
runs-on: self-hosted-linux
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run benchmarks
run: cargo bench --features bench
- name: Upload benchmark reports
uses: actions/upload-artifact@v4
with:
name: benchmark-reports-${{ github.sha }}
path: ./target/criterion/

View File

@ -2,9 +2,9 @@ name: Run benchmarks
on:
workflow_dispatch:
# push:
# branches:
# - main
push:
branches:
- main
jobs:
pick-runner:

View File

@ -39,8 +39,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov