Introduce github actions - Continuous integration
ADD
.github/workflows/ci.yml
+name: CI
+
+on: [push]
+
+jobs:
+ CI:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, windows-latest, macOS-latest]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Setup .NET Core
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: 2.2.202
+ - name: Build with dotnet
+ run: dotnet build --configuration Release
+ - name: Test with dotnet
+ run: dotnet test --configuration Release --filter "UnitTests"
+ - name: Publish with dotnet
+ run: dotnet publish --configuration Release

Introduce github actions - Continuous integration