2016-06-04 17:30:50 +00:00
|
|
|
version: 1.0.{build}-{branch}
|
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:
|
2020-04-14 20:15:40 +00:00
|
|
|
- .github/**
|
2020-02-22 23:32:36 +00:00
|
|
|
- .travis.yml
|
2020-04-14 20:15:40 +00:00
|
|
|
- docs/**
|
2020-02-22 23:32:36 +00:00
|
|
|
- src/**/*_posix.*
|
|
|
|
- src/**/*_linux.*
|
|
|
|
- src/**/*_x11.*
|
|
|
|
- src/**/*_gtk.*
|
2017-12-17 06:12:19 +00:00
|
|
|
- LICENSE
|
|
|
|
- README.md
|
2018-11-18 19:50:26 +00:00
|
|
|
|
|
|
|
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:
|
2020-12-13 15:41:07 +00:00
|
|
|
- cmd: vcpkg integrate remove
|
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
|
2017-05-07 20:53:12 +00:00
|
|
|
- Checked
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2016-06-13 01:05:58 +00:00
|
|
|
build_script:
|
2020-02-28 20:09:50 +00:00
|
|
|
- cmd: xb build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-base-tests --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: |
|
2020-02-17 21:38:05 +00:00
|
|
|
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%"
|
2020-02-17 22:03:06 +00:00
|
|
|
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES=--"
|
2020-02-17 21:38:05 +00:00
|
|
|
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY"
|
2020-02-17 22:03:06 +00:00
|
|
|
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES="-pI know what I am doing." --"
|
|
|
|
7z a xenia_%ARCHIVE_SUFFIX%.zip %ARCHIVE_SWITCHES% LICENSE "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.exe" "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.pdb"
|
|
|
|
7z a xenia-vfs-dump_%ARCHIVE_SUFFIX%.zip %ARCHIVE_SWITCHES% 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:
|
2020-02-17 22:22:05 +00:00
|
|
|
- path: '*.zip'
|
2015-12-31 19:21:28 +00:00
|
|
|
- path: xenia-cpu-ppc-test.log
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2015-12-31 19:21:28 +00:00
|
|
|
deploy:
|
|
|
|
- provider: Environment
|
|
|
|
name: xenia-master
|
2017-09-09 15:19:37 +00:00
|
|
|
release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version)
|
2020-02-17 22:22:05 +00:00
|
|
|
artifact: '*.zip'
|
2015-12-31 19:21:28 +00:00
|
|
|
draft: false
|
|
|
|
prerelease: true
|
|
|
|
on:
|
2019-07-18 03:38:29 +00:00
|
|
|
branch: master
|
|
|
|
configuration: release
|
|
|
|
appveyor_repo_tag: true
|
|
|
|
is_not_pr: true
|