-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (26 loc) · 915 Bytes
/
CI.yml
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: .NET Core CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
- name: Build ConfigAdapter
run: dotnet build ConfigAdapter.Core/ConfigAdapter.Core.csproj
- name: Build ConfigAdapter.Xml
run: dotnet build ConfigAdapter.Xml/ConfigAdapter.Xml.csproj
- name: Build ConfigAdapter.Ini
run: dotnet build ConfigAdapter.Ini/ConfigAdapter.Ini.csproj
- name: Build ConfigAdapter.HJson
run: dotnet build ConfigAdapter.Json/ConfigAdapter.Json.csproj
- name: Build test project
run: dotnet build ConfigAdapter.Test/ConfigAdapter.Test.csproj
- name: Run unit tests
run: dotnet test ConfigAdapter.Test/ConfigAdapter.Test.csproj