Make usable on no-alloc systems #15
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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
agnostic: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/cargo@v1 | |
with: {command: fmt, args: --all -- --check} | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/cargo@v1 | |
with: {command: test} | |
- uses: actions-rs/toolchain@v1 | |
with: {toolchain: nightly} | |
- run: cargo +nightly bench | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/cargo@v1 | |
with: {command: test} | |
- uses: actions-rs/toolchain@v1 | |
with: {toolchain: nightly} | |
- run: cargo +nightly bench |