forked from wowmodelviewer/wowmodelviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
36 lines (27 loc) · 1.03 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
version: 0.10.0.{build}
image: Visual Studio 2017
clone_script:
- cmd: >-
git clone -v --branch=develop --recursive --progress https://github.com/wowmodelviewer/wowmodelviewer.git C:\projects\wowmodelviewer
before_build:
- cmd: >-
cmake -B build -G "Visual Studio 15 2017" -DBUILDNUMBER=%APPVEYOR_BUILD_NUMBER%
build_script:
- cmd: >-
cmake --build build --config Release --target release
cd C:\projects\wowmodelviewer\bin
ren WMV_Installer.exe WMV_Installer_v%APPVEYOR_BUILD_VERSION%.exe
test: off
artifacts:
- path: bin\WMV_Installer_v%APPVEYOR_BUILD_VERSION%.exe
for:
-
branches:
only:
- develop
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