-
-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathappveyor.yml
More file actions
31 lines (24 loc) · 768 Bytes
/
Copy pathappveyor.yml
File metadata and controls
31 lines (24 loc) · 768 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
28
29
30
31
version: '{branch}-{build}'
image: Ubuntu2204
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: true
install:
# Install .NET SDKs needed for multi-targeting (net8.0, net9.0, net10.0)
- wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
- chmod +x dotnet-install.sh
- ./dotnet-install.sh --channel 8.0
- ./dotnet-install.sh --channel 9.0
- ./dotnet-install.sh --channel 10.0
- export PATH="$HOME/.dotnet:$PATH"
- dotnet --list-sdks
before_build:
- dotnet restore ./src/Downloader.sln
build_script:
- dotnet build ./src/Downloader.sln --verbosity minimal
test_script:
- dotnet test ./src/Downloader.Test/Downloader.Test.csproj