diff options
author | 2019-09-24 15:39:33 +0200 | |
---|---|---|
committer | 2019-09-24 15:39:33 +0200 | |
commit | 68c4752e998dca1d618380ce4e7d8ac52b710056 (patch) | |
tree | 35e386030b072c189509bb2ed3adeaec5b0fd4d1 /.github | |
parent | bb5cac49d028eb53c259ae58e3a007ebfb736fd4 (diff) | |
parent | 05c7c39ecb8910c75b82dc4052a7720fb2d42b4a (diff) | |
download | iced-68c4752e998dca1d618380ce4e7d8ac52b710056.tar.gz iced-68c4752e998dca1d618380ce4e7d8ac52b710056.tar.bz2 iced-68c4752e998dca1d618380ce4e7d8ac52b710056.zip |
Merge pull request #17 from hecrj/web
Basic web support (core, native, and web crates)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/integration.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index f9f98ed4..eb54d170 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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: | @@ -18,4 +23,7 @@ jobs: sudo apt-get install -y libasound2-dev libudev-dev - uses: actions/checkout@master - name: Run tests - run: cargo test --verbose --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 |