Make hashbrown optional (#153) #106
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: Build | |
on: [push, pull_request] | |
jobs: | |
src: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: stable | |
targets: wasm32-unknown-unknown | |
- uses: actions/checkout@master | |
- name: Build src (native) (no default features) | |
run: cargo build --no-default-features --verbose | |
- name: Build src (native) (all features) | |
run: cargo build --all-features --verbose | |
- name: Build src (wasm) | |
run: cargo build --verbose --target wasm32-unknown-unknown | |
- name: Test src (native) | |
run: cargo test --verbose --workspace | |
dev: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: stable | |
- uses: actions/checkout@master | |
- name: Build dev (native) (all features) | |
run: cargo build --all-features --verbose | |
working-directory: ./dev | |
- name: Test dev (native) | |
run: cargo test --verbose --workspace | |
working-directory: ./dev |