Merge pull request #129 from atjn/patch-1 #1532
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
pull_request: | |
branches: | |
- master | |
- release/* | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
name: Build ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
- name: Install wasm-tools | |
run: dotnet workload install wasm-tools wasm-experimental | |
- name: Build | |
run: dotnet build -c Release | |
- name: Test | |
run: dotnet test -c Release | |
- name: Pack | |
if: github.event_name != 'pull_request' | |
run: dotnet pack -c Release -o ./artifacts/NuGet |