Make WASM polyfilled Instant work in web workers. #226
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: tests | |
jobs: | |
tests: | |
name: tests | |
runs-on: ubuntu-latest | |
env: | |
CARGO_BACKTRACE: 1 | |
steps: | |
- name: Install system dependencies | |
run: | | |
sudo apt-get -y install libxkbcommon-dev | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install beta toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: beta | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
with: | |
cache-on-failure: true | |
- name: Run cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features cv/serde-serialize | |
- name: Run cargo test for Akaze with rayon feature | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features akaze/rayon |