Dmitry V. Levin
ee5d88c5b6
Check x86_64 builds with libdw, with libunwind, and without stacktrace. As Travis CI doesn't provide a suitable libdw, do not test libdw there. * ci/install-dependencies.sh (common_packages): Remove libdw-dev. Install libdw-dev or libunwind8-dev depending on $STACKTRACE. * ci/run-build-and-tests.sh: Specify --with-libdw=yes, --with-libunwind=yes, or --without-stacktrace depending on $STACKTRACE. * .gitlab-ci.yml (gcc-x86_64): Rename to gcc-x86_64-libdw, add STACKTRACE=libdw. (gcc-x86): Rename to gcc-x86-nounwind, add STACKTRACE=no. (clang-x86_64): Rename to clang-x86_64-libdw, add STACKTRACE=libdw. (clang-x86): Rename to clang-x86-nounwind, add STACKTRACE=no. (gcc-x86_64-libunwind, gcc-x86_64-nounwind, gcc-x86-nounwind, clang-x86_64-libunwind, clang-x86_64-nounwind, clang-x86-nounwind): New test matrix entries. * .travis.yml: Add STACKTRACE=libunwind to all x86_64 test matrix entries except musl-gcc, add STACKTRACE=no to other matrix entries, add test matrix entries with STACKTRACE=no variants on x86_64.
74 lines
1.3 KiB
YAML
74 lines
1.3 KiB
YAML
image: "ubuntu:17.10"
|
|
|
|
before_script:
|
|
- ci/install-dependencies.sh
|
|
|
|
variables:
|
|
GIT_DEPTH: "2147483647"
|
|
SLEEP_A_BIT: "sleep 0.2"
|
|
VERBOSE: "1"
|
|
|
|
gcc-x86_64-libdw:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "gcc"
|
|
TARGET: "x86_64"
|
|
STACKTRACE: "libdw"
|
|
|
|
gcc-x86_64-libunwind:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "gcc"
|
|
TARGET: "x86_64"
|
|
STACKTRACE: "libunwind"
|
|
|
|
gcc-x86_64-nounwind:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "gcc"
|
|
TARGET: "x86_64"
|
|
STACKTRACE: "no"
|
|
|
|
gcc-x86-nounwind:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "gcc"
|
|
TARGET: "x86"
|
|
STACKTRACE: "no"
|
|
|
|
clang-x86_64-libdw:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "clang"
|
|
TARGET: "x86_64"
|
|
STACKTRACE: "libdw"
|
|
|
|
clang-x86_64-libunwind:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "clang"
|
|
TARGET: "x86_64"
|
|
STACKTRACE: "libunwind"
|
|
|
|
clang-x86_64-nounwind:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "clang"
|
|
TARGET: "x86_64"
|
|
STACKTRACE: "no"
|
|
|
|
clang-x86-nounwind:
|
|
stage: test
|
|
script: ci/run-build-and-tests.sh
|
|
variables:
|
|
CC: "clang"
|
|
TARGET: "x86"
|
|
STACKTRACE: "no"
|