-
Notifications
You must be signed in to change notification settings - Fork 10
27 lines (25 loc) · 808 Bytes
/
Test_C.yml
File metadata and controls
27 lines (25 loc) · 808 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
name: Run unit test for C helpers
on:
workflow_dispatch:
push:
paths:
- '**/NostalgicPlayer.Kit.C/**'
- '**/NostalgicPlayer.Kit.C.Test/**'
jobs:
Test:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
lfs: 'true'
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v3
- name: Setup NuGet
uses: nuget/setup-nuget@v3
- name: Install dependencies
run: nuget restore Source\NostalgicPlayer.sln
- name: Build
run: msbuild Source\NostalgicPlayer.sln -t:rebuild -property:configuration="Debug" -property:Platform="Any CPU"
- name: Test
run: dotnet test Source\NostalgicPlayer.Kit.C.Test\NostalgicPlayer.Kit.C.Test.csproj --no-build --verbosity normal