Add appveyor.yml

This commit is contained in:
James Benton 2017-06-02 13:20:19 +01:00
parent 11940e076c
commit bfaf5382a0

38
appveyor.yml Normal file
View File

@ -0,0 +1,38 @@
clone_depth: 10
version: 1.0.{build}
image: Visual Studio 2017
platform:
- x86
configuration:
- Release
install:
- appveyor DownloadFile https://kent.dl.sourceforge.net/project/gnuwin32/make/3.81/make-3.81-bin.zip
- 7z x make-3.81-bin.zip -oC:\make
- appveyor DownloadFile https://netix.dl.sourceforge.net/project/gnuwin32/make/3.81/make-3.81-dep.zip
- 7z x make-3.81-dep.zip -oC:\make
- set PATH=%PATH%;C:/make/bin
- appveyor DownloadFile https://netcologne.dl.sourceforge.net/project/devkitpro/devkitPPC/devkitPPC_r29-1/devkitPPC_r29-1-win32.exe
- 7z x devkitPPC_r29-1-win32.exe -oC:\ -y
- set DEVKITPPC=C:/devkitPPC
- git submodule update --init --recursive
before_build:
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=install -G "Visual Studio 15 2017" ../
- cd ..
build:
- msbuild INSTALL.vcxproj /p:Configuration=Release /p:Platform=Win32
after_build:
- 7z a wut.zip install\*
artifacts:
- path: build\wut.zip
name: wut