added initial appveyor configuration

This commit is contained in:
Anthony Pesch 2017-07-26 19:58:17 -04:00
parent e467958a51
commit cd8e860dae
4 changed files with 39 additions and 7 deletions

29
.appveyor.yml Normal file
View File

@ -0,0 +1,29 @@
skip_tags: true
image: Visual Studio 2015
environment:
GITHUB_KEY:
secure: /DCyflM6kjhQlQU5vryk97H/2/WGoFj8pMrxCrbQeMksunq9jnKaG05pP45WpTCX
GIT_TAG: ci-latest
BUILD_ARTIFACT: redream.x86_64-windows-HEAD.tar.gz
build_script:
- mkdir build
- cd build
- cmake -G "Visual Studio 14 Win64" ..
- cd ..
- msbuild.exe build/redream.sln /t:redream /p:Configuration=Release /p:Platform=x64
- tar -cvzf %BUILD_ARTIFACT% -C build/Release redream.exe
artifacts:
- path: $(BUILD_ARTIFACT)
name: archive
deploy:
provider: GitHub
tag: $(GIT_TAG)
auth_token: $(GITHUB_KEY)
artifact: archive
prerelease: true
force_update: true

View File

@ -37,7 +37,7 @@ script:
before_deploy:
- BUILD_ARTIFACT=redream.$BUILD_ARCH-$BUILD_PLATFORM-HEAD.tar.gz
- GIT_TAG=travis-ci-latest
- GIT_TAG=ci-latest
- tar -cvzf $BUILD_ARTIFACT redream
- git config --global user.email "builds@travis-ci.com"
- git config --global user.name "Travis CI"

View File

@ -1,7 +1,8 @@
# redream
[![Build status](https://travis-ci.org/inolen/redream.svg?branch=master)](https://travis-ci.org/inolen/redream)
[![Slack status](http://slack.redream.io/badge.svg)](http://slack.redream.io)
[![travis-ci status](https://travis-ci.org/inolen/redream.svg?branch=master)](https://travis-ci.org/inolen/redream)
[![appveyor status](https://ci.appveyor.com/api/projects/status/github/inolen/redream)](https://ci.appveyor.com/project/inolen/redream)
[![slack status](http://slack.redream.io/badge.svg)](http://slack.redream.io)
[redream](http://redream.io) is a work-in-progress SEGA Dreamcast emulator written in C for Mac, Linux and Windows.

View File

@ -13,12 +13,14 @@ View the [documentation](/docs/building) for instructions on building.
The latest binaries built by our continuous integration are available below.
Please note, there is currently no Windows continous integration, as such there are no binaries available for it. Instead, you must [build it manually](docs/building).
### Linux
[redream.x86_64-linux-HEAD.tar.gz](https://github.com/inolen/redream/releases/download/travis-ci-latest/redream.x86_64-linux-HEAD.tar.gz)
[redream.x86_64-linux-HEAD.tar.gz](https://github.com/inolen/redream/releases/download/ci-latest/redream.x86_64-linux-HEAD.tar.gz)
### Mac
[redream.x86_64-darwin-HEAD.tar.gz](https://github.com/inolen/redream/releases/download/travis-ci-latest/redream.x86_64-darwin-HEAD.tar.gz)
[redream.x86_64-darwin-HEAD.tar.gz](https://github.com/inolen/redream/releases/download/ci-latest/redream.x86_64-darwin-HEAD.tar.gz)
### Windows
[redream.x86_64-windows-HEAD.tar.gz](https://github.com/inolen/redream/releases/download/ci-latest/redream.x86_64-windows-HEAD.tar.gz)