2021-09-25 11:23:57 +00:00
|
|
|
name: Build/Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: .NET on ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os:
|
2021-09-25 11:28:41 +00:00
|
|
|
- ubuntu-latest
|
2021-09-25 11:23:57 +00:00
|
|
|
- macos-latest
|
|
|
|
- windows-latest
|
|
|
|
configuration:
|
|
|
|
- debug
|
|
|
|
- release
|
2021-09-25 11:26:05 +00:00
|
|
|
sdk:
|
|
|
|
- 5.0.x
|
2021-09-25 11:23:57 +00:00
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
|
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v1.8.2
|
2021-09-25 11:26:05 +00:00
|
|
|
with:
|
|
|
|
dotnet-version: ${{ matrix.sdk }}
|
2021-09-25 11:23:57 +00:00
|
|
|
|
|
|
|
- name: Build Solution
|
|
|
|
run: dotnet build -c ${{ matrix.configuration }} src/shamir.sln
|