forked from facebook/watchman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
67 lines (56 loc) · 1.92 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
60
61
62
63
64
65
66
67
version: b{build}
configuration:
- Release
os: Visual Studio 2017
branches:
except:
- gh-pages
init:
- SET PATH=c:\python37-x64;C:\OpenSSL-win64;%PATH%
- SET ANSICON=121x90 (121x90)
install:
- python -V
before_build:
- cmd: git clean -dfx
- cmd: cd c:\tools\vcpkg
- cmd: git pull
# don't spend time and energy building debug builds
- echo.set(VCPKG_BUILD_TYPE release)>> triplets\x64-windows.cmake
- .\bootstrap-vcpkg.bat
- cmd: vcpkg version
- cmd: cd c:\projects\watchman
- cmd: python getdeps.py --install-deps -j2
- cmd: cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake .
build:
project: ALL_BUILD.vcxproj
parallel: true
cache:
- c:\tools\vcpkg\installed\
test_script:
- "cd node && npm install"
- cmd: mkdir Watchman
- cmd: copy Release\watchman.exe Watchman
- cmd: copy Release\watchman.pdb Watchman
- cmd: copy LICENSE Watchman/LICENSE.txt
- cmd: copy README.markdown Watchman
- cmd: python winbuild\copy-dyn-deps.py Release\watchman.exe Watchman c:\tools\vcpkg\installed\x64-windows\bin external\install\bin external\install\lib
- cmd: python runtests.py --watchman-path Release\watchman.exe --concurrency=1
- cmd: ctest -C Release --output-on-failure
- cmd: python runtests.py --watchman-path Release\watchman.exe --concurrency=1 --win7
artifacts:
- path: watchman
name: watchman
type: zip
environment:
global:
WATCHMAN_BINARY: Release/watchman.exe
#BOOST_ROOT: C:/Libraries/boost_1_67_0
#LIBEVENT_INCLUDE_DIR: C:/projects/watchman/external/install/include
#LIBEVENT_LIB: C:/projects/watchman/external/install/lib
# We don't really need the matrix any more, but the windows download link
# from the web site references this particular build flavor. So we keep
# this one here until we've landed this and cut over the download URL.
matrix:
- WATCHMAN_WIN7_COMPAT:
platform:
- x64