Skip to content

Use TaskFactory to create Wasm tasks #11

Use TaskFactory to create Wasm tasks

Use TaskFactory to create Wasm tasks #11

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Initialize submodules
run: |
git submodule init
git submodule update
- name: install standalone wasmtime
run: |
curl https://wasmtime.dev/install.sh -sSf | bash
echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
export PATH=$HOME/.wasmtime/bin:$PATH
wasmtime --version
- name: build MSBuild for unit test .dll
run: ./msbuild/build.sh
- name: Restore dependencies
run: dotnet restore
- name: Publish
run: dotnet publish src
- name: Test
run: dotnet test
- name: Examples
run: dotnet build examples