1version: '{build}'
2
3environment:
4  matrix:
5  - MSYSTEM: MINGW64
6    CPU: x86_64
7    MSVC: amd64
8  - MSYSTEM: MINGW32
9    CPU: i686
10    MSVC: x86
11  - MSYSTEM: MINGW64
12    CPU: x86_64
13  - MSYSTEM: MINGW32
14    CPU: i686
15  - MSYSTEM: MINGW64
16    CPU: x86_64
17    MSVC: amd64
18    CONFIG_FLAGS: --enable-debug
19  - MSYSTEM: MINGW32
20    CPU: i686
21    MSVC: x86
22    CONFIG_FLAGS: --enable-debug
23  - MSYSTEM: MINGW64
24    CPU: x86_64
25    CONFIG_FLAGS: --enable-debug
26  - MSYSTEM: MINGW32
27    CPU: i686
28    CONFIG_FLAGS: --enable-debug
29
30install:
31  - set PATH=c:\msys64\%MSYSTEM%\bin;c:\msys64\usr\bin;%PATH%
32  - if defined MSVC call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %MSVC%
33  - if defined MSVC pacman --noconfirm -Rsc mingw-w64-%CPU%-gcc gcc
34  - pacman --noconfirm -Suy mingw-w64-%CPU%-make
35
36build_script:
37  - bash -c "autoconf"
38  - bash -c "./configure $CONFIG_FLAGS"
39  - mingw32-make
40  - file lib/jemalloc.dll
41  - mingw32-make tests
42  - mingw32-make -k check
43