Skip to content

Commit

Permalink
build criterion pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 committed Dec 1, 2024
1 parent b6debb1 commit ec731f8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- "master"
name: benchmark

jobs:
bench:
name: run benchmark
runs-on: ubuntu-latest
steps:
- name: Check out base
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run benchmarks
run: cargo bench
- name: Publish results
id: deployment
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
name: deploy pages
runs-on: ubuntu-latest
needs: bench
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4

0 comments on commit ec731f8

Please sign in to comment.