2016-06-04 17:30:50 +00:00
|
|
|
version: 1.0.{build}-{branch}
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2019-09-06 21:37:55 +00:00
|
|
|
clone_depth: 50
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
2015-12-31 01:10:19 +00:00
|
|
|
branches:
|
2018-11-18 19:50:26 +00:00
|
|
|
except:
|
|
|
|
- gh-pages
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
2017-12-17 06:12:19 +00:00
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- docs/*
|
2019-05-06 22:29:25 +00:00
|
|
|
- .github/*
|
2017-12-17 06:12:19 +00:00
|
|
|
- LICENSE
|
|
|
|
- README.md
|
2018-11-18 19:50:26 +00:00
|
|
|
- .travis.yml
|
|
|
|
|
|
|
|
skip_branch_with_pr: true
|
2017-12-17 06:12:19 +00:00
|
|
|
|
2017-12-06 00:11:59 +00:00
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2019-05-25 03:11:13 +00:00
|
|
|
os: Visual Studio 2019
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
|
|
install:
|
2019-07-18 03:38:29 +00:00
|
|
|
- cmd: xb setup
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2015-12-31 03:59:57 +00:00
|
|
|
platform: Windows
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
configuration:
|
2015-12-31 03:59:57 +00:00
|
|
|
- Release
|
2019-09-04 12:51:14 +00:00
|
|
|
# - Checked
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2016-06-13 01:05:58 +00:00
|
|
|
build_script:
|
2019-07-18 03:38:29 +00:00
|
|
|
- cmd: xb build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2019-07-18 03:38:29 +00:00
|
|
|
after_build:
|
|
|
|
- cmd: |
|
|
|
|
7z a xenia-%appveyor_repo_branch%.zip LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.pdb
|
|
|
|
7z a xenia-vfs-dump-%appveyor_repo_branch%.zip LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.pdb
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
before_test:
|
2019-07-18 03:38:29 +00:00
|
|
|
- cmd: xb gentests
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
test_script:
|
2019-07-18 03:38:29 +00:00
|
|
|
- cmd: xb test --config=%CONFIGURATION% --no_build
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
artifacts:
|
2015-12-31 19:21:28 +00:00
|
|
|
- path: xenia-cpu-ppc-test.log
|
2017-09-09 15:19:37 +00:00
|
|
|
- path: xenia-$(appveyor_repo_branch).zip
|
2018-11-21 14:38:49 +00:00
|
|
|
- path: xenia-vfs-dump-$(appveyor_repo_branch).zip
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2015-12-31 19:21:28 +00:00
|
|
|
deploy:
|
|
|
|
- provider: Environment
|
2019-09-06 21:37:55 +00:00
|
|
|
name: xenia-canary
|
2017-09-09 15:19:37 +00:00
|
|
|
release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version)
|
2018-11-21 14:38:49 +00:00
|
|
|
artifact: xenia-$(appveyor_repo_branch).zip,xenia-vfs-dump-$(appveyor_repo_branch).zip
|
2015-12-31 19:21:28 +00:00
|
|
|
draft: false
|
|
|
|
prerelease: true
|
|
|
|
on:
|
2019-09-06 21:37:55 +00:00
|
|
|
branch: canary
|
2019-07-18 03:38:29 +00:00
|
|
|
configuration: release
|
|
|
|
appveyor_repo_tag: true
|
|
|
|
is_not_pr: true
|