]> granicus.if.org Git - gc/commitdiff
Travis CI: Test also 32-bit, 64-bit builds with clang-4.0, gcc-5 (Linux)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 29 Mar 2017 20:29:47 +0000 (23:29 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 10 Apr 2017 21:32:30 +0000 (00:32 +0300)
(Cherry-pick commit 80085ae from 'master' branch.)

.travis.yml

index 8f1dbfcf7ac755ac8eb61b0f8b64100494c9008d..e0116d6813ce22d9682ac967daf5ae9ff1a7dfd9 100644 (file)
@@ -121,6 +121,51 @@ matrix:
       language: c
       env:
         - CONF_OPTIONS="--disable-parallel-mark --enable-gc-assertions"
+    - os: linux
+      addons:
+        apt:
+          packages: [ clang-4.0 ]
+          sources: [ llvm-toolchain-trusty-4.0 ]
+      compiler: clang-4.0
+      dist: trusty
+      language: c
+      env:
+        - CXX=clang++-4.0
+        - CFLAGS_EXTRA="-O3 -march=native"
+        - CONF_OPTIONS="--enable-cplusplus --enable-single-obj-compilation"
+    - os: linux
+      addons:
+        apt:
+          packages: [ clang-4.0, gcc-multilib ]
+          sources: [ llvm-toolchain-trusty-4.0 ]
+      compiler: clang-4.0
+      dist: trusty
+      language: c
+      env:
+        - CFLAGS_EXTRA="-m32 -D _FORTIFY_SOURCE=2"
+        - CONF_OPTIONS="--enable-munmap --enable-gc-assertions"
+    - os: linux
+      addons:
+        apt:
+          packages: [ gcc-5, g++-5 ]
+          sources: [ ubuntu-toolchain-r-test ]
+      compiler: gcc-5
+      dist: trusty
+      language: c
+      env:
+        - CXX=g++-5
+        - CONF_OPTIONS="--enable-munmap --enable-cplusplus --enable-gc-assertions"
+    - os: linux
+      addons:
+        apt:
+          packages: [ gcc-5, gcc-5-multilib, gcc-multilib ]
+          sources: [ ubuntu-toolchain-r-test ]
+      compiler: gcc-5
+      dist: trusty
+      language: c
+      env:
+        - CFLAGS_EXTRA="-m32 -O3"
+        - CONF_OPTIONS="--disable-shared --enable-single-obj-compilation"
 
 install:
   - git clone --depth=50 https://github.com/ivmai/libatomic_ops.git -b release-7_4