forked from HaxeFoundation/neko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (32 loc) · 1.9 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
34
35
36
37
38
version: "{build}"
environment:
matrix:
# VS 2010 works too but let's save effort
# - VisualStudioVersion: 10.0
# CMAKE_GENERATOR: "Visual Studio 10 2010"
- VisualStudioVersion: 12.0
CMAKE_GENERATOR: "Visual Studio 12 2013"
- VisualStudioVersion: 12.0
CMAKE_GENERATOR: "Visual Studio 12 2013 Win64"
configuration: Release
cache:
- libs\src -> CMakeLists.txt
build_script:
- cmake -G "%CMAKE_GENERATOR%" .
# download static dependencies before actual build, with 3 chances to deal with network issues
- msbuild download_static_deps.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ||
msbuild download_static_deps.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ||
msbuild download_static_deps.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild ALL_BUILD.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild PACKAGE.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild source_archive.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild source_archive_fat.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
# package and publish chocolatey package for the 32-bit build
- ps: >
if ($env:CMAKE_GENERATOR -eq "Visual Studio 12 2013") {
msbuild package_choco.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
}
test_script:
- msbuild RUN_TESTS.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
artifacts:
- path: bin/*.zip