-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
54 lines (35 loc) · 1.23 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
version: 0.2.0-{build}
branches:
only:
- master
pull_requests:
do_not_increment_build_number: true
clone_depth: 50
cache: C:\deps\
build_script:
- ps: >-
sed -i 's/[email protected]:/git:\/\/github.com\//' .gitmodules
git submodule update --init --recursive
if (! ( (Test-Path C:\deps\boost-install\lib\libboost_python-vc140-mt-1_60.lib) -And
(Test-Path C:\deps\boost-install\lib\libboost_filesystem-vc140-mt-1_60.lib) )) {
pushd .
cd C:\Libraries\boost_1_60_0
rm -r C:/deps/boost-install
.\bootstrap.bat --prefix="C:/deps/boost-install"
.\b2.exe headers
.\b2.exe --prefix="C:/deps/boost-install" link=static --with-filesystem --with-python install -d0
ls C:\deps\boost-install
ls C:\deps\boost-install\lib
ls C:\deps\boost-install\include
popd
}
cmake -DCMAKE_INSTALL_PREFIX=build -DBoost_DEBUG=ON -DENTITYX_BUILD_TESTING=0 -DBOOST_ROOT=C:/deps/boost-install
cmake --build . --target ALL_BUILD --config Release
cp C:/deps/boost-install/lib/*.* ./Release/
test_script:
- ps: >-
set PYTHONHOME=C:\Python27
set PATH=$PYTHONHOME\Scripts;$PYTHONHOME;$PATH
echo $PYTHONPATH
echo $PATH
ctest -VV -C Release