Run appveyor against checked builds

This commit is contained in:
Dr. Chat 2017-04-08 12:50:56 -05:00
parent ab1690b0b1
commit 761ae4eeee

View file

@ -5,9 +5,6 @@
# version format # version format
version: 1.0.{build}-{branch} version: 1.0.{build}-{branch}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build # branches to build
branches: branches:
# whitelist # whitelist
@ -59,7 +56,7 @@ platform: Windows
# build Configuration, i.e. Debug, Release, etc. # build Configuration, i.e. Debug, Release, etc.
configuration: configuration:
#- Checked - Checked
- Release - Release
#build: #build:
@ -76,12 +73,12 @@ configuration:
# scripts to run after build # scripts to run after build
after_build: after_build:
- 7z a xenia-%appveyor_repo_branch%-%appveyor_repo_commit%.zip LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\Windows\Release\xenia.exe %APPVEYOR_BUILD_FOLDER%\build\bin\Windows\Release\xenia.pdb - 7z a xenia-%appveyor_repo_branch%-%appveyor_repo_commit%.zip LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.pdb
# to run your custom scripts instead of automatic MSBuild # to run your custom scripts instead of automatic MSBuild
# We also compile the tests here instead of later on. # We also compile the tests here instead of later on.
build_script: build_script:
- cmd: xb.bat build --config=release --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests - cmd: xb.bat build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests
# to disable automatic builds # to disable automatic builds
#build: off #build: off
@ -100,7 +97,7 @@ after_test:
# to run your custom scripts instead of automatic tests # to run your custom scripts instead of automatic tests
test_script: test_script:
- cmd: xb.bat test --config=release --no_build - cmd: xb.bat test --config=%CONFIGURATION% --no_build
# to disable automatic tests # to disable automatic tests
#test: off #test: off
@ -143,6 +140,7 @@ deploy:
prerelease: true prerelease: true
on: on:
branch: master # release from master branch only branch: master # release from master branch only
configuration: release # deploy release builds only
appveyor_repo_tag: true # deploy on tag push only appveyor_repo_tag: true # deploy on tag push only
# scripts to run before deployment # scripts to run before deployment