-
Notifications
You must be signed in to change notification settings - Fork 215
/
appveyor.yml
47 lines (39 loc) · 1.15 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
environment:
matrix:
- platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CYG_ARCH: x86_64
CYG_ROOT: C:/cygwin64
CYG_CACHE: C:/cygwin64/var/cache/setup
CYG_SH: C:/cygwin64/bin/bash -lc
CYG_INSTALL: C:/cygwin64/setup-x86_64.exe -q -P
CYG_PATH: C:/cygwin64/bin/cygpath -u
cache:
- '%CYG_CACHE%'
init:
- '%CYG_SH% "cygcheck -dc cygwin"'
- '%CYG_INSTALL% "wget"'
- '%CYG_SH% "wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg"'
- '%CYG_SH% "install apt-cyg /bin"'
- '%CYG_SH% "apt-cyg install make gcc-g++ cmake gdal libboost-devel libgdal-devel"'
- '%CYG_SH% "apt-cyg install swig python-devel"'
# clone directory
clone_folder: C:/cygwin64/home/appveyor/fmm
before_build:
- '%CYG_SH% "echo \"export PATH=/usr/local/lib:\$PATH\" >> ~/.bash_profile"'
build_script:
- '%CYG_SH% "cd fmm && mkdir build"'
- '%CYG_SH% "cd fmm/build && cmake .. && make -j 4 && make install"'
test_script:
- '%CYG_SH% "fmm"'
- '%CYG_SH% "cd fmm/example/python;python fmm_test.py"'
branches:
only:
- master
- windows
skip_commits:
files:
- docs/*
- '**/*.html'
- '**/*.md'
- img/