diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..f147b84c --- /dev/null +++ b/.appveyor.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index cf0fefea..e9866985 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/README.md b/README.md index 21650c02..74b1c47f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/download.md b/docs/download.md index caca9dcb..3b4eee7a 100644 --- a/docs/download.md +++ b/docs/download.md @@ -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)