Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Add wasm to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
grovesNL committed Apr 18, 2020
1 parent 9ed9987 commit 392084e
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ jobs:
strategy:
matrix:
os: [macos-10.15, ubuntu-18.04, windows-2019]
wasm: [true, false]
include:
- os: macos-10.15
CHECK_COMMAND: cargo check
TEST_COMMAND: cargo test --no-run
wasm: false
CHECK_COMMAND: cargo check --all-targets
TEST_COMMAND: cargo test --all-targets --no-run
- os: ubuntu-18.04
CHECK_COMMAND: cargo check
TEST_COMMAND: cargo test --no-run
wasm: false
CHECK_COMMAND: cargo check --all-targets
TEST_COMMAND: cargo test --all-targets --no-run
- os: windows-2019
CHECK_COMMAND: rustup default stable-msvc; cargo check
TEST_COMMAND: rustup default stable-msvc; cargo test --no-run
wasm: false
CHECK_COMMAND: rustup default stable-msvc && cargo check --all-targets
TEST_COMMAND: rustup default stable-msvc && cargo test --all-targets --no-run
- wasm: true
CHECK_COMMAND: rustup target add wasm32-unknown-unknown && RUSTFLAGS=--cfg=web_sys_unstable_apis cargo check --all-targets --target=wasm32-unknown-unknown
TEST_COMMAND: :
steps:
- uses: actions/checkout@v2
- name: cargo check
Expand Down

0 comments on commit 392084e

Please sign in to comment.