forked from opencpn-radar-pi/radar_pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
41 lines (33 loc) · 1.07 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
---
clone_folder: c:\project\opencpn\plugin_src
shallow_clone: false
clone_depth: 10
image:
- Visual Studio 2017
platform:
- Win32
configuration: RelWithDebInfo
test: false
install:
- set VS_HOME=C:\Program Files (x86)\Microsoft Visual Studio\2017
- call "%VS_HOME%\Community\VC\Auxiliary\Build\vcvars32.bat"
before_build:
# Ensure there is a working python installation. Unless removed,
# Python38-64 and Python27 interferes with the 32-bit 3.8 installation
- rmdir /Q /S C:\Python38-x64
- rmdir /Q /S C:\Python27
- cmd: SET PATH=C:\Python38;C:\Python38\Scripts;%PATH%
# And check out submodules:
- git submodule update --init opencpn-libs
build_script:
- call buildwin\win_deps.bat
- mkdir build && cd build
- cmake -T v141_xp -G "Visual Studio 15 2017" ..
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
- cmake --build . --target tarball --config RelWithDebInfo
after_build:
# Something in build_script messes with %PATH%:
- cmd: SET PATH=C:\Python38;C:\Python38\Scripts;%PATH%
- python ..\ci\windows-ldd
- call upload.bat
- python ..\ci\git-push