Shamir/.github/workflows/ci.yaml
2021-09-25 23:05:07 +10:00

37 lines
673 B
YAML

name: Build/Test
on:
- push
- pull_request
jobs:
build:
name: .NET on ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
configuration:
- debug
- release
sdk:
- 5.0.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.4
- name: Setup .NET
uses: actions/setup-dotnet@v1.8.2
with:
dotnet-version: ${{ matrix.sdk }}
- name: Build Solution
run: dotnet build -c ${{ matrix.configuration }} shamir.sln
- name: Run Tests
run: dotnet test -c ${{ matrix.configuration }} shamir.sln