forked from cea-hpc/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
39 lines (31 loc) · 1.28 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
branches:
except:
- c-master
- c-3.2
platform: x64
environment:
RUNTESTFLAGS: -v
matrix:
- BUILD_PLATFORM: msys
CMD_DIR: C:\msys64\usr\bin
- BUILD_PLATFORM: cygwin
CMD_DIR: C:\cygwin64\bin
install:
# install dependencies, make and sed are already installed in msys2 and cygwin environments
# also install shells and script interpreter for test purpose
# no availability of R on MSYS2 platform
- if "%BUILD_PLATFORM%" == "msys" (%CMD_DIR%\bash -lc "pacman --noconfirm --noprogressbar -S tcl dejagnu python ruby cmake zsh tcsh mksh fish gcc autoconf")
- if "%BUILD_PLATFORM%" == "cygwin" (%CMD_DIR%\bash -lc "/setup-x86_64.exe -qnNdO -P tcl,dejagnu,ruby,cmake,zsh,tcsh,mksh,fish,R,tcl-devel,gcc-core,autoconf")
build_script:
- path %CMD_DIR%;%PATH%
- bash -c "./configure --disable-compat-version && make && make install"
test_script:
- path %CMD_DIR%;%PATH%
- bash -c "contrib/mt"
- if "%BUILD_PLATFORM%" == "msys" (bash -c "contrib/mt install")
# must add /usr/lib/lapack to PATH for /usr/lib/R/library/stats/libs/stats.dll
- if "%BUILD_PLATFORM%" == "cygwin" (bash -c "PATH=/usr/lib/lapack:$PATH contrib/mt install")
after_test:
- path %CMD_DIR%;%PATH%
- bash -c "make uninstall"
# vim:set tabstop=2 shiftwidth=2 expandtab autoindent: