add test for auto pfb #422
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
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | |
on: | |
push: | |
tags-ignore: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
name: Benchmarks | |
jobs: | |
test: | |
name: Benchmarks | |
runs-on: self-hosted | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: checks | |
run: | | |
df --human-readable | |
ls -al /home/runner/data/*/*.metafits | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Cargo Bench | |
run: | | |
cargo bench | |
env: | |
LD_LIBRARY_PATH: /usr/local/lib/ | |
BIRLI_TEST_DIR: /home/runner/data | |
- name: Zip benchmark results | |
run: zip -r criterion.zip target/criterion/* | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: criterion.zip | |
path: criterion.zip |