Skip to content

Restructure and adding 5-bit block scheme #107

Restructure and adding 5-bit block scheme

Restructure and adding 5-bit block scheme #107

Workflow file for this run

name: "Test"
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
defaults:
run:
shell: bash -l {0}
jobs:
test:
runs-on: ubuntu-latest
name: "🧪 Test"
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install minimal nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: "Test"
run: |
cargo test
cargo clippy -- -D warnings
bench:
runs-on: ubuntu-latest
name: "⏱ Benchmark"
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install minimal nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: "Benchmark"
run: |
cargo bench