Skip to content

Commit 3f04968

Browse files
committed
Initial commit
0 parents  commit 3f04968

38 files changed

+8447
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
on: [push, pull_request, workflow_dispatch]
3+
jobs:
4+
etwlib_Unit_Tests:
5+
runs-on: windows-latest
6+
steps:
7+
# setup .NET using setup-dotnet action
8+
- name: Setup .NET
9+
uses: actions/[email protected]
10+
- name: checkout code
11+
uses: actions/checkout@v2
12+
- name: Setup MSBuild
13+
uses: microsoft/setup-msbuild@v1
14+
- name: Setup NuGet
15+
uses: nuget/setup-nuget@v1
16+
- uses: actions/cache@v3
17+
with:
18+
path: ~/.nuget/packages
19+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
20+
restore-keys: |
21+
${{ runner.os }}-nuget-
22+
- name: Restore nuget packages
23+
run: nuget restore etwlib.sln
24+
- name: Build Solution
25+
run: |
26+
msbuild.exe etwlib.sln /nologo /nr:false /p:platform="Any CPU" /p:configuration="Release"
27+
- name: Test
28+
run: sudo dotnet test --no-restore --verbosity normal

0 commit comments

Comments
 (0)