Skip to content

Commit

Permalink
Test the .NET Wasmtime bindings in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhuene committed Nov 23, 2019
1 parent 9fdf5bc commit 623ac87
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,31 @@ jobs:
name: bins-${{ matrix.os }}
path: dist

# Build and test the .NET bindings
dotnet:
name: Test Wasmtime for .NET bindings
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@master
with:
submodules: true
- uses: ./.github/actions/install-rust
- uses: ./.github/actions/binary-compatible-builds
- run: rustup target add wasm32-wasi
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.0.101'
- run: |
cd crates/misc/dotnet/tests
dotnet test
- run: |
cd crates/misc/dotnet/src
dotnet pack
if: matrix.os == 'macos-latest'
# Consumes all published artifacts from all the previous build steps, creates
# a bunch of tarballs for all of them, and then publishes the tarballs
# themselves as an artifact (for inspection) and then optionally creates
Expand Down

0 comments on commit 623ac87

Please sign in to comment.