forked from ufoaiorg/ufoai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (33 loc) · 1.06 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
os:
- Windows Server 2012 R2
# - MinGW
configuration: Release
environment:
NSIS_ROOT: C:\nsis
branches:
only:
- master
clone_depth: 10
install:
# download dependencies
- ps: |
$file = "C:\deps.zip"
$urlDeps = "http://sourceforge.net/projects/ufoai/files/UFO_AI%202.x/2.5/ufoai-deps.zip"
Write-Host "Downloading deps"
appveyor DownloadFile $urlDeps -FileName $file
Write-Host "Unzip deps"
7z x -oC:\ $file > $null
- set UFOAI_DEPS=C:\ufoai-deps
before_build:
# UFORADIANT cannot be built with MSVC because we don't have the required GTK libraries. We turn off UFOAI_BUILD_UFORADIANT
- cmake -G "Visual Studio 12" -DUFOAI_BUILD_GAME=ON -DUFOAI_BUILD_UFO2MAP=ON -DUFOAI_BUILD_UFODED=ON -DUFOAI_BUILD_UFO=ON -DUFOAI_BUILD_UFOMODEL=ON -DUFOAI_BUILD_UFOSLICER=ON -DUFOAI_BUILD_UFORADIANT=OFF -DUFOAI_BUILD_UFOTESTALL=ON
build:
parallel: true
project: ufoai.sln
# verbosity: detailed
test_script:
# - testall.exe
- cinst nsis -y -installArgs /D=%NSIS_ROOT%
#artifacts:
# - path: contrib/installer/windows/*.exe
# name: NSIS Installer