Mike Hommey | 3bb044c | 2016-06-09 17:10:16 +0900 | [diff] [blame] | 1 | version: '{build}' |
2 | |||||
3 | environment: | ||||
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 | |||||
16 | install: | ||||
17 | - set PATH=c:\msys64\%MSYSTEM%\bin;c:\msys64\usr\bin;%PATH% | ||||
18 | - if defined MSVC call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %MSVC% | ||||
19 | - if defined MSVC pacman --noconfirm -Rsc mingw-w64-%CPU%-gcc gcc | ||||
20 | - pacman --noconfirm -Suy mingw-w64-%CPU%-make | ||||
21 | |||||
22 | build_script: | ||||
23 | - bash -c "autoconf" | ||||
24 | - bash -c "./configure" | ||||
25 | - mingw32-make -j3 | ||||
26 | - file lib/jemalloc.dll | ||||
27 | - mingw32-make -j3 tests | ||||
28 | - mingw32-make -k check |