/
appveyor.yml
30 lines (24 loc) · 935 Bytes
/
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
version: "build-{build}"
environment:
WXWIDGETS_INSTALL_PATH: "C:/wxWidgets-3.1.0"
matrix:
- VS_VERSION: 14
VS_PLATFORM: win32
- VS_VERSION: 14
VS_PLATFORM: x64
install:
- cinst wxwidgets --version 3.1.0
clone_script:
- cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
before_build:
- msbuild /m %WXWIDGETS_INSTALL_PATH%"/build/msw/wx_vc14.sln" "/p:Configuration=DLL Release;PlatformToolset=v140;WholeProgramOptimization=true" /target:core,base /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- md build-release
- cd build-release
- cmake -G "Visual Studio %VS_VERSION%" -DCMAKE_VERBOSE_MAKEFILE=1 -DTESTS=1 ../
- cd ../
build_script:
- cd build-release
- cmake --build . --config Release
- ctest . -C Release --output-on-failure
- cd ../