summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2016-06-09 08:10:16 (GMT)
committerMike Hommey <mh@glandium.org>2016-06-09 12:06:22 (GMT)
commit91278fbddfb5a0adf265b1b9907a1509b4e1e18c (patch)
treee6b7254794fde71ed6b06a3681115a2886163471 /.appveyor.yml
parent8a1a794b0c79268ed9570719579b18b55e0bfd2d (diff)
downloadjemalloc-91278fbddfb5a0adf265b1b9907a1509b4e1e18c.zip
jemalloc-91278fbddfb5a0adf265b1b9907a1509b4e1e18c.tar.gz
jemalloc-91278fbddfb5a0adf265b1b9907a1509b4e1e18c.tar.bz2
Add an AppVeyor config
This builds jemalloc and runs all checks with: - MSVC 2015 64-bits - MSVC 2015 32-bits - MINGW64 (from msys2) - MINGW32 (from msys2) Normally, AppVeyor configs are named appveyor.yml, but it is possible to configure the .yml file name in the AppVeyor project settings such that the file stays "hidden", like typical travis configs.
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..ddd5c57
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,28 @@
+version: '{build}'
+
+environment:
+ matrix:
+ - MSYSTEM: MINGW64
+ CPU: x86_64
+ MSVC: amd64
+ - MSYSTEM: MINGW32
+ CPU: i686
+ MSVC: x86
+ - MSYSTEM: MINGW64
+ CPU: x86_64
+ - 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%
+ - if defined MSVC pacman --noconfirm -Rsc mingw-w64-%CPU%-gcc gcc
+ - pacman --noconfirm -Suy mingw-w64-%CPU%-make
+
+build_script:
+ - bash -c "autoconf"
+ - bash -c "./configure"
+ - mingw32-make -j3
+ - file lib/jemalloc.dll
+ - mingw32-make -j3 tests
+ - mingw32-make -k check