45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
version: '{build}'
|
|
|
|
environment:
|
|
matrix:
|
|
- MSYSTEM: MINGW64
|
|
CPU: x86_64
|
|
MSVC: amd64
|
|
CONFIG_FLAGS: --enable-debug
|
|
- MSYSTEM: MINGW64
|
|
CPU: x86_64
|
|
CONFIG_FLAGS: --enable-debug
|
|
- MSYSTEM: MINGW32
|
|
CPU: i686
|
|
MSVC: x86
|
|
CONFIG_FLAGS: --enable-debug
|
|
- MSYSTEM: MINGW32
|
|
CPU: i686
|
|
CONFIG_FLAGS: --enable-debug
|
|
- MSYSTEM: MINGW64
|
|
CPU: x86_64
|
|
MSVC: amd64
|
|
- MSYSTEM: MINGW64
|
|
CPU: x86_64
|
|
- MSYSTEM: MINGW32
|
|
CPU: i686
|
|
MSVC: x86
|
|
- MSYSTEM: MINGW32
|
|
CPU: i686
|
|
|
|
install:
|
|
- set PATH=c:\msys64\%MSYSTEM%\bin;c:\msys64\usr\bin;%PATH%
|
|
- if defined MSVC call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %MSVC%
|
|
- curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
|
|
- pacman --noconfirm -U msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz --nodeps
|
|
- if defined MSVC pacman --noconfirm -Rsc mingw-w64-%CPU%-gcc gcc
|
|
- pacman --noconfirm -S mingw-w64-%CPU%-make
|
|
|
|
build_script:
|
|
- bash -c "autoconf"
|
|
- bash -c "./configure $CONFIG_FLAGS"
|
|
- mingw32-make
|
|
- file lib/jemalloc.dll
|
|
- mingw32-make tests
|
|
- mingw32-make -k check
|