1 # default values for all jobs
16 packages: &required_packages
17 - [libnuma-dev, python3-setuptools, python3-wheel, python3-pip, python3-pyelftools, ninja-build]
18 - [libbsd-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson-dev]
21 _aarch64_packages: &aarch64_packages
23 - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
25 _aarch64_clang_packages: &aarch64_clang_packages
27 - [libgcc-7-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
29 _libabigail_build_packages: &libabigail_build_packages
30 - [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev]
32 _build_32b_packages: &build_32b_packages
36 _doc_packages: &doc_packages
37 - [doxygen, graphviz, python3-sphinx]
39 before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh
40 script: ./.ci/${TRAVIS_OS_NAME}-build.sh
44 - LIBABIGAIL_VERSION=libabigail-1.8
50 - env: DEF_LIB="static"
53 - env: DEF_LIB="shared" RUN_TESTS=true
56 - env: DEF_LIB="shared" BUILD_DOCS=true
64 - env: DEF_LIB="shared" ABI_CHECKS=true
71 - *libabigail_build_packages
73 - env: DEF_LIB="static"
76 - env: DEF_LIB="shared" RUN_TESTS=true
79 - env: DEF_LIB="shared" BUILD_DOCS=true
87 # x86_64 cross-compiling 32-bits jobs
88 - env: DEF_LIB="static" BUILD_32BIT=true
95 # x86_64 cross-compiling aarch64 jobs
96 - env: DEF_LIB="static" AARCH64=true
103 - env: DEF_LIB="shared" AARCH64=true
110 - env: DEF_LIB="static" AARCH64=true
116 - *aarch64_clang_packages
117 - env: DEF_LIB="shared" AARCH64=true
123 - *aarch64_clang_packages
125 - env: DEF_LIB="static"
127 arch: arm64-graviton2
131 - env: DEF_LIB="shared" RUN_TESTS=true
133 arch: arm64-graviton2
137 - env: DEF_LIB="shared" BUILD_DOCS=true
139 arch: arm64-graviton2
148 - env: DEF_LIB="shared" ABI_CHECKS=true
150 arch: arm64-graviton2
158 - *libabigail_build_packages
160 - env: DEF_LIB="static"
162 arch: arm64-graviton2
166 - env: DEF_LIB="shared" RUN_TESTS=true
168 arch: arm64-graviton2