Skip to content

Interleaved comparing test #16

Interleaved comparing test

Interleaved comparing test #16

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 -q --bench=tango -- compare | tee -a target/benchmark.txt
- name: Archive Benchmarks Results
uses: actions/upload-artifact@v3
with:
name: benchmark.txt
path: target/benchmark.txt