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]
20 _aarch64_packages: &aarch64_packages
22 - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
24 _aarch64_clang_packages: &aarch64_clang_packages
26 - [libgcc-7-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
28 _libabigail_build_packages: &libabigail_build_packages
29 - [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev]
31 _build_32b_packages: &build_32b_packages
35 _doc_packages: &doc_packages
36 - [doxygen, graphviz, python3-sphinx]
38 before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh
39 script: ./.ci/${TRAVIS_OS_NAME}-build.sh
43 - LIBABIGAIL_VERSION=libabigail-1.8
49 - env: DEF_LIB="static"
52 - env: DEF_LIB="shared" RUN_TESTS=true
55 - env: DEF_LIB="shared" BUILD_DOCS=true
63 - env: DEF_LIB="shared" ABI_CHECKS=true
70 - *libabigail_build_packages
72 - env: DEF_LIB="static"
75 - env: DEF_LIB="shared" RUN_TESTS=true
78 - env: DEF_LIB="shared" BUILD_DOCS=true
86 # x86_64 cross-compiling 32-bits jobs
87 - env: DEF_LIB="static" BUILD_32BIT=true
94 # x86_64 cross-compiling aarch64 jobs
95 - env: DEF_LIB="static" AARCH64=true
102 - env: DEF_LIB="shared" AARCH64=true
109 - env: DEF_LIB="static" AARCH64=true
115 - *aarch64_clang_packages
116 - env: DEF_LIB="shared" AARCH64=true
122 - *aarch64_clang_packages
124 - env: DEF_LIB="static"
127 - env: DEF_LIB="shared" RUN_TESTS=true
130 - env: DEF_LIB="shared" RUN_TESTS=true
132 arch: arm64-graviton2
136 - env: DEF_LIB="shared" BUILD_DOCS=true
144 - env: DEF_LIB="shared" ABI_CHECKS=true
151 - *libabigail_build_packages
153 - env: DEF_LIB="static"
156 - env: DEF_LIB="shared" RUN_TESTS=true
159 - env: DEF_LIB="shared" RUN_TESTS=true
161 arch: arm64-graviton2