xenia/.appveyor.yml

75 lines
2.0 KiB
YAML
Raw Normal View History

version: 1.0.{build}-{branch}
branches:
except:
- gh-pages
skip_tags: true
skip_commits:
files:
- .github/**
- .travis.yml
- docs/**
- src/**/*_posix.*
- src/**/*_linux.*
- src/**/*_x11.*
- src/**/*_gtk.*
- LICENSE
- README.md
skip_branch_with_pr: true
pull_requests:
do_not_increment_build_number: true
2019-05-25 03:11:13 +00:00
os: Visual Studio 2019
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 03:59:57 +00:00
platform: Windows
configuration:
2015-12-31 03:59:57 +00:00
- Release
2017-05-07 20:53:12 +00:00
- Checked
build_script:
- 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
2019-07-18 03:38:29 +00:00
after_build:
- cmd: |
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%"
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES=--"
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY"
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"
before_test:
2019-07-18 03:38:29 +00:00
- cmd: xb gentests
test_script:
2019-07-18 03:38:29 +00:00
- cmd: xb test --config=%CONFIGURATION% --no_build
artifacts:
- path: '*.zip'
- path: xenia-cpu-ppc-test.log
deploy:
- provider: Environment
name: xenia-master
release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version)
artifact: '*.zip'
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