Bring back AppVeyor from the grave

This commit is contained in:
illusion98 2020-01-17 02:54:43 +11:00
parent a4fe34112a
commit c38314c13c
1 changed files with 16 additions and 6 deletions

View File

@ -23,15 +23,24 @@ skip_branch_with_pr: true
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2019
os: Visual Studio 2019
init:
- git config --global core.autocrlf input
install:
- xb setup
build_script:
- |-
echo This link is outdated. Use this one instead: https://github.com/xenia-canary/xenia-canary/releases/latest/download/xenia-canary.zip > README.txt
7z a xenia-%appveyor_repo_branch%.zip README.txt
7z a xenia-vfs-dump-%appveyor_repo_branch%.zip README.txt
- xb build --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
test: off
after_build:
- |-
cd build\bin\Windows\Release
ren xenia.exe xenia-canary.exe
7z a ..\..\..\..\xenia-%appveyor_repo_branch%.zip ..\..\..\..\LICENSE xenia-canary.exe
7z a ..\..\..\..\xenia-vfs-dump-%appveyor_repo_branch%.zip ..\..\..\..\LICENSE xenia-vfs-dump.exe
cd ..\..\..\..
before_test:
- xb gentests
@ -40,6 +49,7 @@ test_script:
- xb test --no_build
artifacts:
- path: xenia-cpu-ppc-test.log
- path: xenia-$(appveyor_repo_branch).zip
- path: xenia-vfs-dump-$(appveyor_repo_branch).zip