-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 739 Bytes
/
Copy pathci.yml
File metadata and controls
30 lines (28 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Continuous Integration
on:
push:
branches:
- '*'
- '!main'
- '!release'
env:
DOTNET_VERSION: '5.0.x'
jobs:
build:
name: Continuous Integration - ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .Net
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{env.DOTNET_VERSION}}
- name: Restore Dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal