mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Check wasm target is working by running 'cargo check' on the demo_web package (#36)
This commit is contained in:
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
@@ -17,6 +17,22 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
|
|
||||||
|
check_demo_web:
|
||||||
|
name: Check demo_web
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
- run: rustup target add wasm32-unknown-unknown
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
|
args: -p demo_web --target wasm32-unknown-unknown
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test Suite
|
name: Test Suite
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user