Skip to content

Add ReadOptions implementation #396

Add ReadOptions implementation

Add ReadOptions implementation #396

Workflow file for this run

name: Cargo
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --features "rayon serde rstar"
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
mkdir -p dump
cargo test --features "rayon serde rstar" --verbose
examples:
name: Example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run examples
run: |
mkdir -p dump
cargo run --example selection
cargo run --example sphere
cargo run --example waterbox