forked from GeodynamicWorldBuilder/WorldBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
60 lines (50 loc) · 1.59 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '0.6.0-pre.{build}'
image: Visual Studio 2015
platform:
- x64
configuration:
- Release
- Debug
environment:
CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
VS: 2015
#VCPKG_ARCH: x64-windows
init:
- cmd: set PATH=%MINGW_DIR%;%PATH%
before_build:
install:
- if "%VS%"=="2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- if "%VS%"=="2015" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- if "%VS%"=="2015" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- cmake --version
- set PATH=C:\Python38-x64;%PATH% &
python -V &
python -m pip install virtualenv wheel
build_script:
- choco install swig --yes
- choco install dos2unix --yes
- echo %LD_LIBRARY_PATH%
- swig -swiglib
- echo %SWIG_LIB%
- which cmake
- mkdir install
- mkdir build
- cd build
- pwd
- cmake -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=%configuration% -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_VERBOSE_MAKEFILE=ON ..
- cmake --build . --config %configuration% --target install
- set PYTHONPATH=%PYTHONPATH%;/c/Python38-x64/Lib/;/c/Python38-x64/DLLs/;%APPVEYOR_BUILD_FOLDER%\build\lib\
- echo %PythonPath%
- echo %PYTHONPATH%
- set path=%PATH%;%PYTHONPATH%;
- echo _gwblib > lib\gwb.pth
- ls %APPVEYOR_BUILD_FOLDER%\build\
- ls %APPVEYOR_BUILD_FOLDER%\build\lib\
- ls /c/Python38-x64/Lib/
- ls /c/Python38-x64/libs/
- ls /c/Python38-x64/DLLs/
test_script:
- ctest -VV -C %configuration%
after_test:
on_finish:
- cat Testing/Temporary/LastTest.log