-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
61 lines (46 loc) · 1.54 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
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: x86
branches:
only:
- main
clone_folder: c:\projects\ReHitmanTools
configuration: Release
image:
- Visual Studio 2019
install:
- git submodule update --init --recursive
before_build:
- cmd: |
mkdir build
cd build
cmake --version
cmake -A Win32 -G "Visual Studio 16 2019" ..
build:
parallel: true
verbosity: normal
build_script: |
cmake --build . --config Release
test_script:
- 'c:\projects\ReHitmanTools\build\Modules\BMLOC\%CONFIGURATION%\BMLOC_Tests.exe'
after_build:
- cmd: cd c:\projects\ReHitmanTools\build
- cmd: 7z a GlacierTools.zip Tools\LOCC\Release\LOCC.exe Tools\GMSInfo\Release\HBM_GMSTool.exe Tools\GMSInfo\Release\typeids.json
- cmd: mv GlacierTools.zip ../GlacierTools.zip
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: GlacierTools.zip
name: GlacierTools
#---------------------------------#
# Discord WebHook #
#---------------------------------#
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