forked from pardeike/Harmony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
39 lines (34 loc) · 1020 Bytes
/
appveyor.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
31
32
33
34
35
36
37
38
39
version: 1.0.{build}
max_jobs: 1
image: Visual Studio 2019
configuration: Release
environment:
matrix:
- targetframework: net35
- targetframework: net45
- targetframework: net472
- targetframework: net48
- targetframework: netcoreapp3.0
- targetframework: netcoreapp3.1
before_build:
- dotnet --version
- dotnet restore
for:
-
# dotnet test currently doesn't work for .NET Framework 3.5 - see comment in .travis.yml.
matrix:
only:
- targetframework: net35
test_script:
- cmd: nunit3-console.exe HarmonyTests/bin/Release/%targetframework%/HarmonyTests.dll --inprocess --result=results.xml;format=AppVeyor
-
matrix:
except:
- targetframework: net35
test_script:
- cmd: cd HarmonyTests
- cmd: nuget install Appveyor.TestLogger -Version 2.0.0
- cmd: cd ..
- cmd: dotnet test HarmonyTests --framework %targetframework% --test-adapter-path:. --logger:Appveyor
artifacts:
- path: 'Harmony\bin\Release\Lib.Harmony.*.nupkg'