| 1 |
branches: |
| 2 |
except: |
| 3 |
- c-master |
| 4 |
- c-3.2 |
| 5 |
|
| 6 |
platform: x64 |
| 7 |
|
| 8 |
environment: |
| 9 |
RUNTESTFLAGS: -v |
| 10 |
|
| 11 |
matrix: |
| 12 |
- BUILD_PLATFORM: msys |
| 13 |
CMD_DIR: C:\msys64\usr\bin |
| 14 |
- BUILD_PLATFORM: cygwin |
| 15 |
CMD_DIR: C:\cygwin64\bin |
| 16 |
|
| 17 |
install: |
| 18 |
# install dependencies, make and sed are already installed in msys2 and cygwin environments |
| 19 |
# also install shells and script interpreter for test purpose |
| 20 |
# no availability of R on MSYS2 platform |
| 21 |
- if "%BUILD_PLATFORM%" == "msys" (%CMD_DIR%\bash -lc "pacman --noconfirm --noprogressbar -S tcl dejagnu python ruby cmake zsh tcsh mksh fish") |
| 22 |
- if "%BUILD_PLATFORM%" == "cygwin" (%CMD_DIR%\bash -lc "/setup-x86_64.exe -qnNdO -P tcl,dejagnu,ruby,cmake,zsh,tcsh,mksh,fish,R") |
| 23 |
|
| 24 |
build_script: |
| 25 |
- path %CMD_DIR%;%PATH% |
| 26 |
- bash -c "./configure --disable-compat-version && make && make install" |
| 27 |
|
| 28 |
test_script: |
| 29 |
- path %CMD_DIR%;%PATH% |
| 30 |
- bash -c "make test" |
| 31 |
- if "%BUILD_PLATFORM%" == "msys" (bash -c "make testinstall") |
| 32 |
# must add /usr/lib/lapack to PATH for /usr/lib/R/library/stats/libs/stats.dll |
| 33 |
- if "%BUILD_PLATFORM%" == "cygwin" (bash -c "PATH=/usr/lib/lapack:$PATH make testinstall") |
| 34 |
|
| 35 |
# vim:set tabstop=2 shiftwidth=2 expandtab autoindent: |