forked from SabreTools/BinaryObjectScanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
58 lines (48 loc) · 1.44 KB
/
Copy pathappveyor.yml
File metadata and controls
58 lines (48 loc) · 1.44 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
53
54
55
56
57
58
# version format
version: 1.8.0-{build}
# pull request template
pull_requests:
do_not_increment_build_number: true
# vm template
image: Visual Studio 2019
# environment variables
environment:
EnableNuGetPackageRestore: true
# msbuild configuration
platform:
- Any CPU
configuration:
- Debug
# install dependencies
install:
- ps: appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
# pre-build script
before_build:
- nuget restore
# build step
build:
verbosity: minimal
project: BurnOutSharp.sln
# post-build step
after_build:
- cd Test\bin\Debug
- 7z a BurnOutSharp_net48.zip net48\*
- 7z a BurnOutSharp_netcoreapp3.1.zip netcoreapp3.1\*
- 7z a BurnOutSharp_net5.0.zip net5.0\*
# success/failure tracking
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL
# artifact linking
artifacts:
- path: Test\bin\Debug\BurnOutSharp_net48.zip
name: BurnOutSharp (.NET Framework 4.8)
- path: Test\bin\Debug\BurnOutSharp_netcoreapp3.1.zip
name: BurnOutSharp (.NET Core 3.1)
- path: Test\bin\Debug\BurnOutSharp_net5.0.zip
name: BurnOutSharp (.NET 5.0)