summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-05-03 21:32:33 -0500
committerLostDragonist <lost.dragonist@gmail.com>2019-05-03 21:32:33 -0500
commit179a73857125ee604f42b0d5c2d765183c86d2c7 (patch)
treeb9b3f9d62bd5640de839d150a53ab8ef119dab9c /appveyor.yml
parente2b799bd6b5cfd51969fefd1dab5e5b1b7e5f81c (diff)
parent907c5468424b48774f5da2a6b5f96f26590987b0 (diff)
Merge pull request #695 from ModOrganizer2/Develop
Stage for Release 2.2.0
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..2992614d
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,28 @@
+version: 1.0.{build}
+skip_branch_with_pr: true
+image: Visual Studio 2017
+environment:
+ WEBHOOK_URL:
+ secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1VYoNNsKROB4s6VsQiL6qbLNLc4XQhc8Y9DhdU9Hfh49vhypcjUEQmMsENxnp+1hYMJctTqIYDunVSd767eez5wz6rKHqk+XOHmg5gyVNCV9u4DVcCZJSVe4UTKn1lc47H0=
+build_script:
+- cmd: >-
+ git clone --depth=1 --branch=%APPVEYOR_REPO_BRANCH% https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null
+
+ mkdir c:\projects\modorganizer-build -type directory
+
+ cd c:\projects\modorganizer-umbrella
+
+ C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True %APPVEYOR_PROJECT_NAME%
+artifacts:
+- path: vsbuild\src\RelWithDebInfo\ModOrganizer.exe
+ name: modorganizer_exe
+- path: vsbuild\src\RelWithDebInfo\ModOrganizer.pdb
+ name: modorganizer_pdb
+on_success:
+ - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
+ - 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: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
+ - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
+ - ps: ./send.ps1 failure $env:WEBHOOK_URL \ No newline at end of file