Skip to content

Changing measurement testing strategy #8

Changing measurement testing strategy

Changing measurement testing strategy #8

Workflow file for this run

name: Test
on: push
jobs:
build:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
- target: x86_64-apple-darwin
os: macos-11
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Restore ./target
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: Cargo/${{ runner.os }}
- name: Run Tests
run: |
cargo test
- name: Run Benchmarks
run: |
cargo bench --bench=tango -- compare | tee target/benchmark.txt
- name: Archive Benchmarks Results
uses: actions/upload-artifact@v3
with:
name: benchmark.txt
path: target/benchmark.txt