-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathappveyor.yml
More file actions
52 lines (42 loc) · 1.49 KB
/
appveyor.yml
File metadata and controls
52 lines (42 loc) · 1.49 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.4.{build}'
image: Visual Studio 2022
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build:
project: src/
branches:
only:
- master
init:
- cmd: git config --global core.autocrlf true
# install .NET 10 SDK
install:
- cmd: choco install dotnet-10.0-sdk
before_build:
- cmd: dotnet --version
- cmd: dotnet --list-sdks
- cmd: dotnet --list-runtimes
- cmd: dotnet tool install --global coveralls.net
- cmd: dotnet tool install --global coverlet.console
- cmd: dotnet clean ./src
- cmd: dotnet restore ./src --verbosity m
build_script:
- cmd: dotnet pack -c release ./src/System.Net.IPNetwork
- cmd: dotnet build -c release ./src/ConsoleApplication
test_script:
- cmd: dotnet build ./src/TestProject/TestProject.csproj -c Debug
- cmd: coverlet src\TestProject\bin\Debug\net10.0\TestProject.dll --target dotnet --targetargs "src\TestProject\bin\Debug\net10.0\TestProject.dll" --format opencover --output src\TestProject\TestResults\coverage.opencover.xml
- csmacnz.Coveralls.exe --opencover -i C:\projects\ipnetwork\src\TestProject\TestResults\coverage.opencover.xml --useRelativePaths
# NuGet publishing is now handled by GitHub Actions (release.yml)