2020-02-19 15:19:52 +00:00
|
|
|
# default values for all jobs
|
2019-03-25 15:32:08 +00:00
|
|
|
language: c
|
2020-02-02 21:08:34 +00:00
|
|
|
cache:
|
|
|
|
ccache: true
|
|
|
|
directories:
|
2020-02-18 20:13:54 +00:00
|
|
|
- libabigail
|
2020-02-02 21:08:34 +00:00
|
|
|
- reference
|
2019-03-25 15:32:08 +00:00
|
|
|
|
2019-12-17 11:42:59 +00:00
|
|
|
dist: bionic
|
2019-03-25 15:32:08 +00:00
|
|
|
|
2020-02-19 15:19:52 +00:00
|
|
|
os: linux
|
2019-03-25 15:32:08 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
packages: &required_packages
|
2020-02-19 15:17:57 +00:00
|
|
|
- [libnuma-dev, python3-setuptools, python3-wheel, python3-pip, ninja-build]
|
2020-04-03 12:45:49 +00:00
|
|
|
- [libbsd-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson-dev]
|
2019-03-25 15:32:08 +00:00
|
|
|
|
2020-02-19 09:38:03 +00:00
|
|
|
_aarch64_packages: &aarch64_packages
|
2019-03-25 15:32:08 +00:00
|
|
|
- *required_packages
|
2019-11-28 07:24:38 +00:00
|
|
|
- [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
|
2019-03-25 15:32:08 +00:00
|
|
|
|
2020-02-19 09:38:03 +00:00
|
|
|
_libabigail_build_packages: &libabigail_build_packages
|
2020-02-18 20:13:54 +00:00
|
|
|
- [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev]
|
2019-03-25 15:32:08 +00:00
|
|
|
|
2020-02-19 09:38:03 +00:00
|
|
|
_build_32b_packages: &build_32b_packages
|
2019-11-19 15:15:43 +00:00
|
|
|
- *required_packages
|
|
|
|
- [gcc-multilib]
|
|
|
|
|
2020-02-19 09:38:03 +00:00
|
|
|
_doc_packages: &doc_packages
|
2019-08-13 13:22:16 +00:00
|
|
|
- [doxygen, graphviz, python3-sphinx]
|
|
|
|
|
2019-03-25 15:32:08 +00:00
|
|
|
before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh
|
2020-02-19 15:19:52 +00:00
|
|
|
script: ./.ci/${TRAVIS_OS_NAME}-build.sh
|
2019-03-25 15:32:08 +00:00
|
|
|
|
2020-02-25 16:32:00 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- REF_GIT_TAG=v20.02
|
|
|
|
|
2020-02-19 09:38:03 +00:00
|
|
|
jobs:
|
2019-03-25 15:32:08 +00:00
|
|
|
include:
|
2020-02-19 15:19:52 +00:00
|
|
|
# x86_64 gcc jobs
|
|
|
|
- env: DEF_LIB="static"
|
|
|
|
arch: amd64
|
2019-11-19 15:15:43 +00:00
|
|
|
compiler: gcc
|
2020-02-19 15:19:52 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=1
|
|
|
|
arch: amd64
|
2019-03-25 15:32:08 +00:00
|
|
|
compiler: gcc
|
2020-02-19 16:36:55 +00:00
|
|
|
- env: DEF_LIB="shared" BUILD_DOCS=1
|
2020-02-19 15:19:52 +00:00
|
|
|
arch: amd64
|
2019-03-25 15:32:08 +00:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 16:36:55 +00:00
|
|
|
- *required_packages
|
2019-08-13 13:22:16 +00:00
|
|
|
- *doc_packages
|
2020-02-19 16:36:55 +00:00
|
|
|
- env: DEF_LIB="shared" ABI_CHECKS=1
|
2020-02-19 15:19:52 +00:00
|
|
|
arch: amd64
|
2019-03-25 15:32:08 +00:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 16:36:55 +00:00
|
|
|
- *required_packages
|
2020-02-19 15:19:52 +00:00
|
|
|
- *libabigail_build_packages
|
|
|
|
# x86_64 clang jobs
|
|
|
|
- env: DEF_LIB="static"
|
|
|
|
arch: amd64
|
|
|
|
compiler: clang
|
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=1
|
|
|
|
arch: amd64
|
|
|
|
compiler: clang
|
2020-02-19 16:36:55 +00:00
|
|
|
- env: DEF_LIB="shared" BUILD_DOCS=1
|
2020-02-19 15:19:52 +00:00
|
|
|
arch: amd64
|
2019-08-02 21:25:52 +00:00
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 16:36:55 +00:00
|
|
|
- *required_packages
|
2019-08-13 13:22:16 +00:00
|
|
|
- *doc_packages
|
2020-02-19 15:19:52 +00:00
|
|
|
# x86_64 cross-compiling 32-bits jobs
|
|
|
|
- env: DEF_LIB="static" BUILD_32BIT=1
|
|
|
|
arch: amd64
|
2020-01-13 06:26:06 +00:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 15:19:52 +00:00
|
|
|
- *build_32b_packages
|
|
|
|
# x86_64 cross-compiling aarch64 jobs
|
|
|
|
- env: DEF_LIB="static" AARCH64=1
|
|
|
|
arch: amd64
|
2020-01-13 06:26:06 +00:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 15:19:52 +00:00
|
|
|
- *aarch64_packages
|
|
|
|
- env: DEF_LIB="shared" AARCH64=1
|
|
|
|
arch: amd64
|
|
|
|
compiler: gcc
|
2020-01-13 06:26:06 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 15:19:52 +00:00
|
|
|
- *aarch64_packages
|
|
|
|
# aarch64 gcc jobs
|
|
|
|
- env: DEF_LIB="static"
|
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
2020-03-23 19:59:26 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=1
|
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
2020-02-18 21:20:04 +00:00
|
|
|
- env: DEF_LIB="shared" BUILD_DOCS=1
|
2020-01-13 06:26:06 +00:00
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *required_packages
|
|
|
|
- *doc_packages
|
2020-02-19 16:36:55 +00:00
|
|
|
- env: DEF_LIB="shared" ABI_CHECKS=1
|
2020-02-02 21:08:34 +00:00
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-19 16:36:55 +00:00
|
|
|
- *required_packages
|
2020-02-18 20:13:54 +00:00
|
|
|
- *libabigail_build_packages
|
2020-02-19 15:19:52 +00:00
|
|
|
# aarch64 clang jobs
|
|
|
|
- env: DEF_LIB="static"
|
|
|
|
arch: arm64
|
|
|
|
compiler: clang
|
2020-03-23 19:59:26 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=1
|
2020-02-19 15:19:52 +00:00
|
|
|
arch: arm64
|
|
|
|
compiler: clang
|