-
Notifications
You must be signed in to change notification settings - Fork 45
36 lines (29 loc) · 1.07 KB
/
ci.yml
File metadata and controls
36 lines (29 loc) · 1.07 KB
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
31
32
33
34
35
36
name: CI
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: |
dotnet restore Dashboard/Dashboard.csproj
dotnet restore Lite/PerformanceMonitorLite.csproj
dotnet restore Installer/PerformanceMonitorInstaller.csproj
dotnet restore Lite.Tests/Lite.Tests.csproj
- name: Build all projects
run: |
dotnet build Dashboard/Dashboard.csproj -c Release --no-restore
dotnet build Lite/PerformanceMonitorLite.csproj -c Release --no-restore
dotnet build Installer/PerformanceMonitorInstaller.csproj -c Release --no-restore
dotnet build Lite.Tests/Lite.Tests.csproj -c Release --no-restore
- name: Run tests
run: dotnet test Lite.Tests/Lite.Tests.csproj -c Release --no-build --verbosity normal