mirror of
https://github.com/yaakov-h/Shamir.git
synced 2024-10-16 19:10:08 +00:00
34 lines
590 B
YAML
34 lines
590 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 }} src/shamir.sln
|