Merge pull request #24 from ids1024/raw-window-handle-0.6 #96
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: Test | |
on: [push, pull_request] | |
jobs: | |
all: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
rust: [stable, beta] | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- uses: actions/checkout@master | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Add Wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Run tests on Wasm | |
run: cargo build --verbose --target wasm32-unknown-unknown |