message: Build tour for WebAssembly in CI
diff: @@ -7,10 +7,15 @@ jobs:
  matrix:
  os: [ubuntu-latest, windows-latest, macOS-latest]
  rust: [stable, beta]
  + include:
  + - os: ubuntu-latest
  + rust: stable
  + targets: 'wasm32-unknown-unknown'
  steps:
  - uses: hecrj/setup-rust-action@v1
  with:
  rust-version: ${{ matrix.rust }}
  + targets: ${{ matrix.targets }}
  - name: Install libinput
  if: matrix.os == 'ubuntu-latest'
  run: |
  @@ -19,3 +24,6 @@ jobs:
  - uses: actions/checkout@master
  - name: Run tests
  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
  