aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2020-04-02 10:18:27 +0200
committerIvan Maidanski <ivmai@mail.ru>2020-04-02 10:18:27 +0200
commitd96132bfbb44343a9fb050ed60b766a004bbc2b5 (patch)
tree0098625b1d84e5d13685822b2535bc26173efed1
parentb9be166c7b585a2e67af2d6e595ffde441e89236 (diff)
downloadbdwgc-fork-d96132bfbb44343a9fb050ed60b766a004bbc2b5.tar.gz
bdwgc-fork-d96132bfbb44343a9fb050ed60b766a004bbc2b5.tar.bz2
Travis CI: Set default OS to Linux
-rw-r--r--.travis.yml208
1 files changed, 70 insertions, 138 deletions
diff --git a/.travis.yml b/.travis.yml
index 0a6998fc..aef20389 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,22 +1,20 @@
language: cpp
+os: linux
jobs:
include:
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CONF_OPTIONS="--enable-cplusplus"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--enable-cplusplus"
- os: osx
env:
- CONF_OPTIONS="--enable-cplusplus"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- env:
+ - env:
- COVERITY_SCAN_BRANCH=1
addons:
coverity_scan:
@@ -27,37 +25,29 @@ jobs:
branch_pattern: master
build_command_prepend: "./configure --enable-cplusplus --disable-shared --enable-single-obj-compilation"
build_command: make -j check CFLAGS_EXTRA=-DLINT2
- - os: linux
- env:
+ - env:
- MAKEFILE_TARGETS="distcheck"
- AUTOMAKE_VER=1.15
- M4_VER=1.4.18
- LIBTOOL_VER=2.4.6
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- env:
+ - env:
- MAKEFILE_TARGETS="dist"
- - os: linux
- env:
+ - env:
- CPPCHECK_ENABLE="--enable=unusedFunction -I libatomic_ops/src extra/gc.c tests/*.c"
- - os: linux
- env:
+ - env:
- CPPCHECK_ENABLE="--enable=unusedFunction --force -D GC_BUILTIN_ATOMIC *.cc cord/*.c cord/tests/*.c tests/*.c tests/*.cc"
- CPPCHECK_OUT_FILTER="Z"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- env:
+ - env:
- CPPCHECK_ENABLE="-j4 --enable=information,performance,portability,style,warning --force -U GC_PRIVATE_H -I libatomic_ops/src *.c"
- - os: linux
- env:
+ - env:
- CPPCHECK_ENABLE="-j4 --enable=information,performance,portability,style,warning --force -U GC_PRIVATE_H -I libatomic_ops/src *.cc cord/*.c cord/tests/*.c extra/AmigaOS.c extra/MacOS.c extra/msvc_dbg.c extra/symbian.cpp tests/*.c tests/*.cc tools/*.c"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-multilib
@@ -66,8 +56,7 @@ jobs:
- CFLAGS_EXTRA="-m32"
- CONF_OPTIONS="--enable-gc-assertions"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-multilib
@@ -80,13 +69,11 @@ jobs:
- CFLAGS_EXTRA="-m32"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--disable-threads --enable-checksums --disable-munmap --enable-cplusplus"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-D DBG_HDRS_ALL -D SHORT_DBG_HDRS"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus"
@@ -96,23 +83,19 @@ jobs:
- CFLAGS_EXTRA="-D DBG_HDRS_ALL -D SHORT_DBG_HDRS -D LINT2"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus --enable-handle-fork=manual --disable-throw-bad-alloc-library"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D DEBUG_ADD_DEL_ROOTS -D DEBUG_THREADS -D GC_DEBUG -D GC_LOG_TO_FILE_ALWAYS"
- CONF_OPTIONS="--enable-cplusplus"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D BSD_TIME -D DEFAULT_STACK_MAYBE_SMALL -D ENABLE_TRACE -D EMPTY_GETENV_RESULTS -D GC_ALWAYS_MULTITHREADED -D GC_NETBSD_THREADS_WORKAROUND -D CPPCHECK"
- CONF_OPTIONS="--enable-cplusplus"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=2 -D DEFAULT_VDB -D TEST_WITH_SYSTEM_MALLOC"
- CONF_OPTIONS="--with-libatomic-ops=no --enable-cplusplus --disable-handle-fork"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- libatomic-ops-dev
@@ -125,13 +108,11 @@ jobs:
env:
- CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=2 -D AO_DISABLE_GCC_ATOMICS"
- CONF_OPTIONS="--with-libatomic-ops=no --enable-munmap --enable-cplusplus --enable-static"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_CFLAGS="-D AO_USE_PTHREAD_DEFS"
- CONF_OPTIONS="--with-libatomic-ops=no --enable-gc-assertions --enable-cplusplus --enable-static"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- libatomic-ops-dev
@@ -140,13 +121,11 @@ jobs:
- CONF_CFLAGS="-D AO_USE_PTHREAD_DEFS"
- CONF_OPTIONS="--with-libatomic-ops=yes --enable-gc-assertions --enable-cplusplus --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D DONT_ADD_BYTE_AT_END -D GC_TIME_LIMIT=10"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-multilib
@@ -154,58 +133,47 @@ jobs:
env:
- CFLAGS_EXTRA="-m32 -D MARK_BIT_PER_OBJ -D USE_CUSTOM_SPECIFIC"
- CONF_OPTIONS="--enable-gc-assertions"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-D MARK_BIT_PER_OBJ"
- CONF_OPTIONS="--enable-cplusplus"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D NO_CLOCK -D POINTER_MASK=~0xf"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus --enable-handle-fork=manual"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D PROC_VDB -D GC_NO_SYS_FAULT_H -D NO_INCREMENTAL -D DEBUG_DIRTY_BITS"
- CONF_OPTIONS="--enable-cplusplus --disable-docs"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-D TEST_MANUAL_VDB"
- CONF_OPTIONS="--enable-gc-assertions --disable-parallel-mark"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D TEST_MANUAL_VDB"
- CONF_OPTIONS="--enable-gc-assertions --disable-munmap"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D FIND_LEAK -D SKIP_LEAKED_OBJECTS_PRINTING"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-D SMALL_CONFIG -D NO_GETENV"
- CONF_OPTIONS="--enable-cplusplus"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CFLAGS_EXTRA="-std=c11 -D GC_NO_SIGSETJMP"
- CONF_OPTIONS="--disable-threads --enable-gc-assertions --enable-cplusplus"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CONF_OPTIONS="--disable-thread-local-alloc --enable-cplusplus --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--disable-parallel-mark --disable-thread-local-alloc --enable-gc-assertions --enable-cplusplus"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- lcov
@@ -214,16 +182,13 @@ jobs:
- CONF_OPTIONS="--enable-gcov --enable-single-obj-compilation --enable-cplusplus --disable-shared --enable-gc-assertions"
- CFLAGS_EXTRA="-D USE_CUSTOM_SPECIFIC"
- REPORT_COVERAGE=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--enable-gc-debug --enable-cplusplus"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--disable-gc-debug --enable-cplusplus"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CONF_OPTIONS="--enable-large-config --enable-cplusplus --disable-shared --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
@@ -234,8 +199,7 @@ jobs:
env:
- CONF_OPTIONS="--enable-large-config --enable-cplusplus --disable-handle-fork"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-multilib
@@ -243,13 +207,11 @@ jobs:
env:
- CONF_OPTIONS="--enable-large-config --disable-munmap"
- CFLAGS_EXTRA="-m32"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--enable-large-config --enable-cplusplus --enable-gc-assertions --enable-static"
- CFLAGS_EXTRA="-D LINT2"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-multilib
@@ -263,18 +225,15 @@ jobs:
- CONF_OPTIONS="--enable-redirect-malloc --enable-cplusplus --enable-static --disable-threads"
- CFLAGS_EXTRA="-m32"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--enable-redirect-malloc --enable-gc-debug --enable-cplusplus --enable-gc-assertions"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CONF_OPTIONS="--disable-threads --enable-cplusplus"
- CFLAGS_EXTRA="-O3 -march=native"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CONF_OPTIONS="--disable-static --disable-threads --enable-cplusplus"
- CFLAGS_EXTRA="-O3 -march=native"
@@ -284,26 +243,22 @@ jobs:
- CONF_OPTIONS="--disable-threads --enable-cplusplus"
- CFLAGS_EXTRA="-O3 -march=native"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CMAKE_CONFIG="Debug"
- CMAKE_OPTIONS="-Denable_cplusplus=ON -Denable_gc_assertions=ON"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CMAKE_CONFIG="Release"
- CMAKE_OPTIONS="-Denable_cplusplus=ON -Denable_large_config=ON"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CMAKE_CONFIG="Debug"
- CMAKE_OPTIONS="-DBUILD_SHARED_LIBS=OFF -Denable_gc_debug=ON"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CMAKE_CONFIG="Release"
- CMAKE_OPTIONS="-DBUILD_SHARED_LIBS=OFF -Denable_threads=OFF"
@@ -322,19 +277,16 @@ jobs:
env:
- CSA_CHECK=true
- CFLAGS_EXTRA="-m32"
- - os: linux
- compiler: clang
+ - compiler: clang
language: c
env:
- CSA_CHECK=true
- CFLAGS_EXTRA="-D ALL_INTERIOR_POINTERS -D CHECKSUMS -D DBG_HDRS_ALL -D DEBUG_THREADS -D ENABLE_TRACE -D GC_ALWAYS_MULTITHREADED -D GC_ASSERTIONS -D GC_ATOMIC_UNCOLLECTABLE -D GC_ENABLE_SUSPEND_THREAD -D GC_GCJ_SUPPORT -D GC_PRINT_BACK_HEIGHT -D GC_THREADS -D HANDLE_FORK -D JAVA_FINALIZATION -D KEEP_BACK_PTRS -D MAKE_BACK_GRAPH -D PARALLEL_MARK -D PRINT_BLACK_LIST -D THREAD_LOCAL_ALLOC -D USE_MMAP -D USE_MUNMAP"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- MAKEFILE_NAME=Makefile.direct
- MAKEFILE_TARGETS="check cord/de"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- MAKEFILE_NAME=Makefile.direct
- MAKEFILE_TARGETS="check cord/de"
@@ -342,8 +294,7 @@ jobs:
env:
- MAKEFILE_NAME=Makefile.direct
- MAKEFILE_TARGETS="check cord/de"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- musl-tools
@@ -351,15 +302,13 @@ jobs:
language: c
env:
- CONF_OPTIONS="--disable-parallel-mark --enable-gc-assertions"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-fsanitize=address -fno-common -fno-omit-frame-pointer"
- CONF_OPTIONS="--enable-cplusplus --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
- TESTS_CUSTOM_RUN=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-5
@@ -376,51 +325,43 @@ jobs:
- CFLAGS_EXTRA="-fsanitize=address -m32 -fno-omit-frame-pointer"
- CONF_OPTIONS="--disable-shared --enable-cplusplus"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
language: c
env:
- CFLAGS_EXTRA="-fsanitize=memory -fno-omit-frame-pointer -std=gnu11"
- CONF_OPTIONS="--enable-static"
- TESTS_CUSTOM_RUN=true
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-fsanitize=undefined -fno-common -fno-omit-frame-pointer"
- TESTS_CUSTOM_RUN=true
- CONF_OPTIONS="--enable-cplusplus --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-fsanitize=thread -D NO_CANCEL_SAFE -D NO_INCREMENTAL -D USE_SPIN_LOCK -fno-omit-frame-pointer -D TEST_FORK_WITHOUT_ATFORK"
- CONF_OPTIONS="--enable-gc-assertions --enable-handle-fork=manual"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-fsanitize=thread -D NO_CANCEL_SAFE -D NO_INCREMENTAL -D USE_SPIN_LOCK -fno-omit-frame-pointer -D TEST_FORK_WITHOUT_ATFORK"
- CONF_OPTIONS="--enable-gc-assertions --enable-gc-debug --enable-handle-fork=manual --enable-large-config --with-libatomic-ops=no"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-fsanitize=thread -D NO_CANCEL_SAFE -D NO_INCREMENTAL -D USE_SPIN_LOCK -fno-omit-frame-pointer -D NTHREADS=15"
- CONF_OPTIONS="--disable-parallel-mark"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-fsanitize=thread -D NO_CANCEL_SAFE -D NO_INCREMENTAL -fno-omit-frame-pointer"
- CONF_OPTIONS="--disable-parallel-mark --disable-thread-local-alloc --disable-shared --enable-gc-assertions --with-libatomic-ops=no"
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-O3 -march=native"
- CONF_OPTIONS="--enable-cplusplus --enable-static --enable-single-obj-compilation"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-multilib
@@ -429,8 +370,7 @@ jobs:
- CFLAGS_EXTRA="-m32 -D _FORTIFY_SOURCE=2 -D GC_DISABLE_INCREMENTAL -std=gnu11"
- CONF_OPTIONS="--enable-gc-assertions --enable-gc-debug"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-8
@@ -443,8 +383,7 @@ jobs:
- CXX=g++-8
- CONF_OPTIONS="--enable-cplusplus --enable-gc-assertions --enable-static"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-8
@@ -458,8 +397,7 @@ jobs:
- CFLAGS_EXTRA="-m32 -O3 -std=gnu11"
- CONF_OPTIONS="--disable-shared --enable-static --enable-single-obj-compilation"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-8
@@ -473,37 +411,32 @@ jobs:
- CFLAGS_EXTRA="-mx32 -march=native -D _FORTIFY_SOURCE=2"
- CONF_OPTIONS="--enable-large-config --enable-gc-assertions"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-x c++"
- CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus --enable-gc-debug --disable-shared"
- MAKEFILE_TARGETS="all"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CC_FOR_CHECK=g++
- CONF_OPTIONS="--enable-gc-assertions"
- MAKEFILE_TARGETS="all"
- MAKEFILE_TARGETS_CHECK="check"
- NO_CLONE_LIBATOMIC_OPS=true
- - os: linux
- compiler: clang
+ - compiler: clang
env:
- CFLAGS_EXTRA="-O3 -Wall -Wextra -Werror -x c++"
- MAKEFILE_NAME=Makefile.direct
- MAKEFILE_TARGETS="cords"
- - os: linux
- compiler: gcc
+ - compiler: gcc
env:
- CC_FOR_CHECK=g++
- CFLAGS_EXTRA="-O3 -Wall -Wextra -Werror -D TEST_MANUAL_VDB"
- MAKEFILE_NAME=Makefile.direct
- MAKEFILE_TARGETS="cords"
- MAKEFILE_TARGETS_CHECK="cord/de check"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- g++-mingw-w64
@@ -514,8 +447,7 @@ jobs:
- CXX=x86_64-w64-mingw32-g++
- CONF_OPTIONS="--host=x86_64-w64-mingw32 --enable-cplusplus --enable-static"
- MAKEFILE_TARGETS="all"
- - os: linux
- addons:
+ - addons:
apt:
packages:
- gcc-mingw-w64