implemented L1 distance & fixed L2 in binary quantization #118
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: Formatter and linter | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install HDF5 | |
run: sudo apt-get install libhdf5-dev | |
- name: Install minimal stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: rustfmt, clippy | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: clippy | |
- name: Check code formatting | |
run: cargo fmt --all -- --check | |
- name: Check cargo clippy warnings | |
run: cargo clippy --workspace --all-targets --all-features -- -D warnings |