Bumping version number #87
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: [push] | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
- name: Build benchmarks | |
run: | | |
cargo bench --no-run | |
- name: Run benchmarks | |
run: | | |
cargo bench -p benchmarks -- -s0 | |
- name: Make plots have a solid white background | |
run: | | |
find target/criterion -name "*.svg" -exec sed -i 's/<svg/<svg style="background-color:#EEE;"/g' {} \; | |
- name: Deploy Docs | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: JamesIves/github-pages-deploy-action@releases/v4 | |
with: | |
branch: gh-pages | |
folder: target/criterion/ | |
git-config-name: kl-botsu | |
git-config-email: [email protected] | |
target-folder: /benchmarks/ | |
clean: true |