Skip to content

Commit

Permalink
Run tests under wasmtime as part of the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 committed Jun 14, 2020
1 parent 02b9f3e commit d280b64
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,24 @@ jobs:
- name: Build
run: make package
shell: bash
- name: Run the testsuite
run: make check
if: matrix.os == 'ubuntu-latest'
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
# Upload the dist folder. Give it a name according to the OS it was built for.
name: ${{ format( 'dist-{0}', matrix.os) }}
path: dist
- name: Compile tests
run: make check
if: matrix.os == 'ubuntu-latest'
- name: Run tests: wasmtime
run: |
VERSION=v0.8.0
wget https://github.com/bytecodealliance/wasmtime/releases/download/v0.8.0/wasmtime-$VERSION-x86_64-linux.tar.xz
tar -xf wasmtime-$VERSION-x86_64-linux.tar.xz
WASMTIME=wasmtime-$VERSION-x86_64-linux/wasmtime
make check RUNTIME=$WASMTIME
if: matrix.os == 'ubuntu-latest'


dockerbuild:
name: Docker Build
Expand Down

0 comments on commit d280b64

Please sign in to comment.