Check iced builds when targetting Wasm in CI
This commit is contained in:
parent
9ca65c9f18
commit
eb4f55c60b
1 changed files with 12 additions and 1 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
name: Test
|
name: Test
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
all:
|
native:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -16,3 +16,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cargo test --verbose --all
|
cargo test --verbose --all
|
||||||
cargo test --verbose --all --all-features
|
cargo test --verbose --all --all-features
|
||||||
|
|
||||||
|
web:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: hecrj/setup-rust-action@v1
|
||||||
|
with:
|
||||||
|
rust-version: stable
|
||||||
|
targets: wasm32-unknown-unknown
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Run checks
|
||||||
|
run: cargo check --package iced --target wasm32-unknown-unknown
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue