This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
appveyor.yml
134 lines (100 loc) · 4.19 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
image:
- Visual Studio 2019
- Visual Studio 2022
version: 1.9.0.{build}
platform:
- Any CPU
configuration:
- Release
for:
-
matrix:
only:
- image: Visual Studio 2019
build_script:
- nuget pack nunit-template.nuspec
- dotnet new -i ./*.nupkg
- dotnet --info
# unfortunately, F# under full .NET Framework issues a compilation error, the issue is in F# compiler
- dotnet new nunit -n CSharpNet35 --framework net35 -lang c#
- dotnet new nunit -n VBasicNet35 --framework net35 -lang vb
- dotnet new nunit -n CSharpNet40 --framework net40 -lang c#
- dotnet new nunit -n VBasicNet40 --framework net40 -lang vb
- dotnet new nunit -n CSharpNet45 --framework net45 -lang c#
- dotnet new nunit -n VBasicNet45 --framework net45 -lang vb
- dotnet new nunit -n CSharpNet451 --framework net451 -lang c#
- dotnet new nunit -n VBasicNet451 --framework net451 -lang vb
- dotnet new nunit -n CSharpNet452 --framework net452 -lang c#
- dotnet new nunit -n VBasicNet452 --framework net452 -lang vb
- dotnet new nunit -n CSharpNet46 --framework net46 -lang c#
- dotnet new nunit -n VBasicNet46 --framework net46 -lang vb
- dotnet new nunit -n CSharpNet461 --framework net461 -lang c#
- dotnet new nunit -n VBasicNet461 --framework net461 -lang vb
- dotnet new nunit -n CSharpNet462 --framework net462 -lang c#
- dotnet new nunit -n VBasicNet462 --framework net462 -lang vb
- dotnet new nunit -n CSharpNet47 --framework net47 -lang c#
- dotnet new nunit -n VBasicNet47 --framework net47 -lang vb
- dotnet new nunit -n CSharpNet471 --framework net471 -lang c#
- dotnet new nunit -n VBasicNet471 --framework net471 -lang vb
- dotnet new nunit -n CSharpNet472 --framework net472 -lang c#
- dotnet new nunit -n VBasicNet472 --framework net472 -lang vb
- dotnet new nunit -n CSharpNet48 --framework net48 -lang c#
- dotnet new nunit -n VBasicNet48 --framework net48 -lang vb
- dotnet new nunit -n CSharpNetCore31 --framework netcoreapp3.1 -lang c#
- dotnet new nunit -n FSharpNetCore31 --framework netcoreapp3.1 -lang f#
- dotnet new nunit -n VBasicNetCore31 --framework netcoreapp3.1 -lang vb
test_script:
- msbuild /p:FrameworkPathOverride="%programfiles(x86)%\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client" CSharpNet35
- msbuild /p:FrameworkPathOverride="%programfiles(x86)%\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client" VBasicNet35
- dotnet test CSharpNet35 --no-build
- dotnet test VBasicNet35 --no-build
- dotnet test CSharpNet40
- dotnet test VBasicNet40
- dotnet test CSharpNet45
- dotnet test VBasicNet45
- dotnet test CSharpNet451
- dotnet test VBasicNet451
- dotnet test CSharpNet452
- dotnet test VBasicNet452
- dotnet test CSharpNet46
- dotnet test VBasicNet46
- dotnet test CSharpNet461
- dotnet test VBasicNet461
- dotnet test CSharpNet462
- dotnet test VBasicNet462
- dotnet test CSharpNet47
- dotnet test VBasicNet47
- dotnet test CSharpNet471
- dotnet test VBasicNet471
- dotnet test CSharpNet472
- dotnet test VBasicNet472
- dotnet test CSharpNet48
- dotnet test VBasicNet48
- dotnet test CSharpNetCore31
- dotnet test FSharpNetCore31
- dotnet test VBasicNetCore31
artifacts:
- path: '*.nupkg'
-
matrix:
only:
- image: Visual Studio 2022
build_script:
- nuget pack nunit-template.nuspec
- dotnet new -i ./*.nupkg
- dotnet --info
- dotnet new nunit -n CSharpNetCore50 --framework net5.0 -lang c#
- dotnet new nunit -n FSharpNetCore50 --framework net5.0 -lang f#
- dotnet new nunit -n VBasicNetCore50 --framework net5.0 -lang vb
- dotnet new nunit -n CSharpNetCore60 --framework net6.0 -lang c#
- dotnet new nunit -n FSharpNetCore60 --framework net6.0 -lang f#
- dotnet new nunit -n VBasicNetCore60 --framework net6.0 -lang vb
test_script:
- dotnet test CSharpNetCore50
- dotnet test FSharpNetCore50
- dotnet test VBasicNetCore50
- dotnet test CSharpNetCore60
- dotnet test FSharpNetCore60
- dotnet test VBasicNetCore60
artifacts:
- path: '*.nupkg'