Update appveyor.yml

Do some notifications
This commit is contained in:
tmaul 2020-02-10 15:47:49 +00:00 committed by GitHub
parent 4770274771
commit d26b9f7e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ environment:
build_type: fbn-xp-gcc
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
build_type: fbn-xp-debug-gcc
WEBHOOK_URL:
secure: MtzvpGQsU1pPgtoADomhnkURQYa12RBdKVAoM8eOPmGrPyLg7rb3zE3OvrOUf9PiYVymm25ttKwRSftBd4DFLAr3NOdL69HEOGfxAmxvdL54i3GNkdlp/w+9Zh3ShZggX4G2hMuJlBIiIxpF1hxpwGO2nO4VLcWikS6/DbSyrn0=
shallow_clone: true
clone_depth: 1
install:
@ -36,12 +38,10 @@ build_script:
- if "%build_type%"=="fbn-win32-gcc" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
- if "%build_type%"=="fbn-win32-debug-gcc" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && rm -rf obj && mingw32-make mingw510 -j5 SKIPDEPEND=1 USE_UCRT=1"
- if "%build_type%"=="fbn-win32-debug-gcc" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\fbneod.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
artifacts:
- path: $(build_type).7z
name: $(build_type)
test: off
deploy:
- provider: GitHub
tag: appveyor-build
@ -53,4 +53,9 @@ deploy:
secure: cC6FjF22axzOF1Y1+B2DfieS+B3KAHeUTefa7k/iq7MJjqaj/OjQ01EWN+Ga5r6v
repository: finalburnneo/FBNeo-WIP-Storage-Facility
artifact: $(build_type)
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