diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..f5bf6cd28 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,174 @@ +#---------------------------------# +# general configuration # +#---------------------------------# + +# version format +version: 1.0.{build} # You can use {branch} too, for example + +# you can use {branch} name in version format too +# version: 1.0.{build}-{branch} + +# branches to build +branches: + # blacklist + except: + - gh-pages + +# Do not build on tags (GitHub only) +skip_tags: true + + +#---------------------------------# +# environment configuration # +#---------------------------------# + +# Operating system (build VM template) +os: Visual Studio 2015 CTP + +# scripts that are called at very beginning, before repo cloning +init: + - git config --global core.autocrlf input + +# clone directory +clone_folder: c:\dev\xenia + +# environment variables +environment: + my_var1: value1 + my_var2: value2 + +# scripts that run after cloning repository +install: + - cmd: tools\buildbot\setup.bat + + +#---------------------------------# +# build configuration # +#---------------------------------# + +# build platform, i.e. x86, x64, Any CPU. This setting is optional. +platform: x64 + +# build Configuration, i.e. Debug, Release, etc. +configuration: Debug + +build: + parallel: true # enable MSBuild parallel builds + project: MyTestAzureCS.sln # path to Visual Studio solution or project + + # MSBuild verbosity level + verbosity: quiet|minimal|normal|detailed + + +# scripts to run before build +before_build: + +# scripts to run after build +after_build: + +# to run your custom scripts instead of automatic MSBuild +build_script: + - cmd: tools\buildbot\build.bat + +# to disable automatic builds +#build: off + + +#---------------------------------# +# tests configuration # +#---------------------------------# + +# scripts to run before tests +before_test: + +# scripts to run after tests +after_test: + +# to run your custom scripts instead of automatic tests +test_script: + - cmd: tools\buildbot\test.bat + +# to disable automatic tests +#test: off + + +#---------------------------------# +# artifacts configuration # +#---------------------------------# + +#artifacts: + # pushing a single file + #- path: test.zip + # pushing entire folder as a zip archive + #- path: logs + # pushing all *.nupkg files in directory + #- path: out\*.nupkg + + +#---------------------------------# +# deployment configuration # +#---------------------------------# + +# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment +# provider names are case-sensitive! +#deploy: + # Deploy to GitHub Releases + #- provider: GitHub + # artifact: /.*\.nupkg/ # upload all NuGet packages to release assets + # draft: false + # prerelease: false + # on: + # branch: master # release from master branch only + # appveyor_repo_tag: true # deploy on tag push only + +# scripts to run before deployment +before_deploy: + +# scripts to run after deployment +after_deploy: + +# to run your custom scripts instead of provider deployments +deploy_script: + +# to disable deployment +deploy: off + + +#---------------------------------# +# global handlers # +#---------------------------------# + +# on successful build +on_success: + +# on build failure +on_failure: + +# after build failure or success +on_finish: + + +#---------------------------------# +# notifications # +#---------------------------------# + +# notifications: +# # Email +# - provider: Email +# to: +# - user1@email.com +# - user2@email.com +# subject: 'Build {{status}}' # optional +# message: "{{message}}, {{commitId}}, ..." # optional +# on_build_status_changed: true + +# # Webhook +# - provider: Webhook +# url: http://www.myhook2.com +# headers: +# User-Agent: myapp 1.0 +# Authorization: +# secure: GhD+5xhLz/tkYY6AO3fcfQ== +# on_build_success: false +# on_build_failure: true +# on_build_status_changed: true diff --git a/tools/buildbot/build.bat b/tools/buildbot/build.bat new file mode 100644 index 000000000..2e0627cfc --- /dev/null +++ b/tools/buildbot/build.bat @@ -0,0 +1,3 @@ +@ECHO OFF + +python xenia-build.py build --debug diff --git a/tools/buildbot/setup.bat b/tools/buildbot/setup.bat new file mode 100644 index 000000000..51d373a8f --- /dev/null +++ b/tools/buildbot/setup.bat @@ -0,0 +1,3 @@ +@ECHO OFF + +python xenia-build.py setup diff --git a/tools/buildbot/test.bat b/tools/buildbot/test.bat new file mode 100644 index 000000000..a16c0ab39 --- /dev/null +++ b/tools/buildbot/test.bat @@ -0,0 +1,4 @@ +@ECHO OFF + +build\xenia\Debug\alloy-test +build\xenia\Debug\alloy-ppc-test --runtime_backend=x64