This repository was archived by the owner on Nov 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.appveyor.yml
More file actions
55 lines (44 loc) · 1.39 KB
/
.appveyor.yml
File metadata and controls
55 lines (44 loc) · 1.39 KB
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
version: 'build-{build}-{branch}'
platform: x64
build:
parallel: true
cache:
- c:\msys64\var\cache\pacman\pkg -> .ci\install.bat
image:
- Visual Studio 2017
environment:
# Create expected SHELL variable for pipenv.
SHELL: 'windows'
CTEST_OUTPUT_ON_FAILURE: '1'
matrix:
- CMAKE_GENERATOR: 'Visual Studio 15 2017 Win64'
BUILDFLAGS: '/verbosity:normal'
TESTTARGET: 'RUN_TESTS'
CXXFLAGS: ''
CMAKEARGS: '-DBOOST_ROOT="C:\Libraries\boost_1_67_0"'
- CMAKE_GENERATOR: 'MSYS Makefiles'
BUILDFLAGS: 'VERBOSE=1'
TESTTARGET: 'test'
CXXFLAGS: ''
CMAKEARGS: ''
matrix:
fast_finish: true
init:
- set PATH=C:\msys64\MINGW64\bin;C:\msys64\usr\bin;%PATH%
- set PATH=C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%
# Remove Python 2.7 from path
- set PATH=%PATH:C:\Python27;=%
- set PATH=%PATH:C:\Python27\Scripts;=%
install:
- python -m pip install pipenv
- '%APPVEYOR_BUILD_FOLDER%\.ci\install.bat'
- pipenv install --three
before_build:
- pipenv run python --version
- cmake --version
build_script:
- pipenv run python setup --generator="%CMAKE_GENERATOR%" --prefix="C:\Software\getkw" --cmake-options="%CMAKEARGS%"
- pipenv run cmake --build build --config Debug -- "%BUILDFLAGS%"
- pipenv run cmake --build build --target install --config Debug
- pipenv run cmake --build build --target "%TESTTARGET%" --config Debug
deploy: off