Don't panic if the current time is smaller than the time tolerance #269
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: Rust | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build | |
run: cargo build | |
- name: build with cwt | |
run: cargo build --features="cwt" | |
- name: pure rust implementations | |
run: cargo build --no-default-features --features="pure-rust" | |
- name: wasm32-freestanding build | |
run: | | |
rustup target add wasm32-unknown-unknown | |
cargo build --verbose --target=wasm32-unknown-unknown | |
- name: wasi32-wasi build | |
run: | | |
rustup target add wasm32-wasi | |
cargo build --verbose --target=wasm32-wasi | |
- name: Run tests | |
run: cargo test --verbose |