|
@@ -1,71 +0,0 @@
|
|
|
-version: "{build}"
|
|
|
-
|
|
|
-image:
|
|
|
- - Visual Studio 2015
|
|
|
-
|
|
|
-platform: Win32
|
|
|
-configuration: Release
|
|
|
-
|
|
|
-environment:
|
|
|
- global:
|
|
|
- HAXELIB_ROOT: C:\projects\haxelib
|
|
|
- matrix:
|
|
|
- - ARCH: 32
|
|
|
- builder: vc
|
|
|
- - ARCH: 32
|
|
|
- CMAKE_GENERATOR: "Visual Studio 14 2015"
|
|
|
- builder: cmake
|
|
|
- - ARCH: 64
|
|
|
- CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
|
|
|
- builder: cmake
|
|
|
-
|
|
|
-artifacts:
|
|
|
- - path: 'bin/hashlink-*.zip'
|
|
|
-
|
|
|
-install:
|
|
|
- # install sdl
|
|
|
- - appveyor DownloadFile https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip
|
|
|
- - 7z x SDL2-devel-2.0.5-VC.zip
|
|
|
- - move SDL2-2.0.5 include/sdl
|
|
|
- # install openal
|
|
|
- - appveyor DownloadFile http://openal-soft.org/openal-binaries/openal-soft-1.17.2-bin.zip
|
|
|
- - 7z x openal-soft-1.17.2-bin.zip
|
|
|
- - move openal-soft-1.17.2-bin include/openal
|
|
|
- # install ffmpeg
|
|
|
- - appveyor DownloadFile https://ffmpeg.zeranoe.com/builds/win%ARCH%/dev/ffmpeg-3.4.2-win%ARCH%-dev.zip
|
|
|
- - 7z x ffmpeg-3.4.2-win%ARCH%-dev.zip
|
|
|
- - move ffmpeg-3.4.2-win%ARCH%-dev include/ffmpeg
|
|
|
- # install neko and haxe
|
|
|
- - ps: Set-Service wuauserv -StartupType Manual
|
|
|
- - cinst neko --version 2.2.0 -y
|
|
|
- - cinst haxe --prerelease --ignore-dependencies -s 'https://ci.appveyor.com/nuget/haxe' -y
|
|
|
- - RefreshEnv
|
|
|
- - neko -version
|
|
|
- - haxe -version
|
|
|
- # setup haxelib
|
|
|
- - mkdir "%HAXELIB_ROOT%"
|
|
|
- - haxelib setup "%HAXELIB_ROOT%"
|
|
|
- - haxelib install hashlink
|
|
|
-
|
|
|
-build_script:
|
|
|
- # if "%builder%"=="vc"
|
|
|
- - if "%builder%"=="vc" msbuild libhl.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild hl.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/directx/directx.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/fmt/fmt.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/openal/openal.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/sdl/sdl.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/sqlite/sqlite.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/ssl/ssl.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/ui/ui.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/uv/uv.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="vc" msbuild libs/video/video.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- # if "%builder%"=="cmake"
|
|
|
- - if "%builder%"=="cmake" cmake -G "%CMAKE_GENERATOR%" .
|
|
|
- - if "%builder%"=="cmake" msbuild ALL_BUILD.vcxproj /p:Configuration=Release /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="cmake" msbuild RUN_TESTS.vcxproj /p:Configuration=Release /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
- - if "%builder%"=="cmake" cpack
|
|
|
-
|
|
|
-test: off
|
|
|
-# test_script:
|
|
|
-# - if "%builder%"=="cmake" msbuild RUN_TESTS.vcxproj /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|