Skip to content

Commit

Permalink
Testing appveyor.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Feb 12, 2015
1 parent cd0c2a6 commit 61f8b8e
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 0 deletions.
174 changes: 174 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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:
# - [email protected]
# - [email protected]
# 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
3 changes: 3 additions & 0 deletions tools/buildbot/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@ECHO OFF

python xenia-build.py build --debug
3 changes: 3 additions & 0 deletions tools/buildbot/setup.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@ECHO OFF

python xenia-build.py setup
4 changes: 4 additions & 0 deletions tools/buildbot/test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@ECHO OFF

build\xenia\Debug\alloy-test
build\xenia\Debug\alloy-ppc-test --runtime_backend=x64

0 comments on commit 61f8b8e

Please sign in to comment.