Add web assembly CI step

This commit is contained in:
Christian Treffs 2020-08-11 21:59:23 +02:00
parent 87bc44a71a
commit 6ebdfc10f6
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 11 additions and 1 deletions

View File

@ -43,4 +43,14 @@ jobs:
- name: Test
run: swift test --skip-update --parallel --enable-test-discovery
- name: Build Release
run: swift build -c release
run: swift build -c release
webAssembly:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: swiftwasm/swiftwasm-action@master
with:
shell-action: swift build --triple wasm32-unknown-wasi