Build tour for WebAssembly in CI
This commit is contained in:
parent
5e28f80af8
commit
05c7c39ecb
1 changed files with 8 additions and 0 deletions
8
.github/workflows/integration.yml
vendored
8
.github/workflows/integration.yml
vendored
|
|
@ -7,10 +7,15 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
rust: [stable, beta]
|
rust: [stable, beta]
|
||||||
|
include:
|
||||||
|
- os: ubuntu-latest
|
||||||
|
rust: stable
|
||||||
|
targets: 'wasm32-unknown-unknown'
|
||||||
steps:
|
steps:
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
rust-version: ${{ matrix.rust }}
|
rust-version: ${{ matrix.rust }}
|
||||||
|
targets: ${{ matrix.targets }}
|
||||||
- name: Install libinput
|
- name: Install libinput
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -19,3 +24,6 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose --all --all-features
|
run: cargo test --verbose --all --all-features
|
||||||
|
- name: Build tour for WebAssembly
|
||||||
|
if: matrix.targets == 'wasm32-unknown-unknown'
|
||||||
|
run: cargo build --verbose --package iced_tour --lib --target wasm32-unknown-unknown
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue