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
|
2020-12-04 17:36:22 +00:00
|
|
|
directories:
|
|
|
|
- libabigail
|
|
|
|
- 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
|
2021-01-24 20:51:56 +00:00
|
|
|
- [libnuma-dev, python3-setuptools, python3-wheel, python3-pip, python3-pyelftools, ninja-build]
|
2020-04-03 12:45:49 +00:00
|
|
|
- [libbsd-dev, libpcap-dev, libibverbs-dev, libcrypto++-dev, libfdt-dev, libjansson-dev]
|
2021-07-07 12:08:18 +00:00
|
|
|
- [libarchive-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
|
|
|
|
2021-01-21 15:51:43 +00:00
|
|
|
_aarch64_clang_packages: &aarch64_clang_packages
|
|
|
|
- *required_packages
|
|
|
|
- [libgcc-7-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
|
|
|
|
|
2020-12-04 17:36:22 +00:00
|
|
|
_libabigail_build_packages: &libabigail_build_packages
|
|
|
|
- [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev]
|
|
|
|
|
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-12-04 17:36:22 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LIBABIGAIL_VERSION=libabigail-1.8
|
2021-08-08 19:26:58 +00:00
|
|
|
- REF_GIT_TAG=none
|
2020-12-04 17:36:22 +00:00
|
|
|
|
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
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=true
|
2020-02-19 15:19:52 +00:00
|
|
|
arch: amd64
|
2019-03-25 15:32:08 +00:00
|
|
|
compiler: gcc
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" BUILD_DOCS=true
|
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 15:19:52 +00:00
|
|
|
# x86_64 clang jobs
|
|
|
|
- env: DEF_LIB="static"
|
|
|
|
arch: amd64
|
|
|
|
compiler: clang
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=true
|
2020-02-19 15:19:52 +00:00
|
|
|
arch: amd64
|
|
|
|
compiler: clang
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" BUILD_DOCS=true
|
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
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="static" BUILD_32BIT=true
|
2020-02-19 15:19:52 +00:00
|
|
|
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
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="static" AARCH64=true
|
2020-02-19 15:19:52 +00:00
|
|
|
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
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" AARCH64=true
|
2020-02-19 15:19:52 +00:00
|
|
|
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
|
2021-01-21 15:51:43 +00:00
|
|
|
- env: DEF_LIB="static" AARCH64=true
|
|
|
|
arch: amd64
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *aarch64_clang_packages
|
|
|
|
- env: DEF_LIB="shared" AARCH64=true
|
|
|
|
arch: amd64
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *aarch64_clang_packages
|
2020-02-19 15:19:52 +00:00
|
|
|
# aarch64 gcc jobs
|
|
|
|
- env: DEF_LIB="static"
|
2021-02-23 08:28:24 +00:00
|
|
|
dist: focal
|
|
|
|
arch: arm64-graviton2
|
|
|
|
virt: vm
|
|
|
|
group: edge
|
2020-03-23 19:59:26 +00:00
|
|
|
compiler: gcc
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=true
|
2020-08-28 11:45:37 +00:00
|
|
|
dist: focal
|
|
|
|
arch: arm64-graviton2
|
|
|
|
virt: vm
|
|
|
|
group: edge
|
|
|
|
compiler: gcc
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" BUILD_DOCS=true
|
2021-02-23 08:28:24 +00:00
|
|
|
dist: focal
|
|
|
|
arch: arm64-graviton2
|
|
|
|
virt: vm
|
|
|
|
group: edge
|
2020-01-13 06:26:06 +00:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- *required_packages
|
|
|
|
- *doc_packages
|
2020-02-19 15:19:52 +00:00
|
|
|
# aarch64 clang jobs
|
|
|
|
- env: DEF_LIB="static"
|
2021-02-23 08:28:24 +00:00
|
|
|
dist: focal
|
|
|
|
arch: arm64-graviton2
|
|
|
|
virt: vm
|
|
|
|
group: edge
|
2020-02-19 15:19:52 +00:00
|
|
|
compiler: clang
|
ci: hook to GitHub Actions
With the recent changes in terms of free access to the Travis CI, let's
offer an alternative with GitHub Actions.
Running jobs on ARM is not supported unless using external runners, so
this commit only adds builds for x86_64 and cross compiling for i386 and
aarch64.
Differences with the Travis CI integration:
- Error logs are not dumped to the console when something goes wrong.
Instead, they are gathered in a "catch-all" step and attached as
artifacts.
- A cache entry is stored once and for all, but if no cache is found you
can inherit from the default branch cache. The cache is 5GB large, for
the whole git repository.
- The maximum retention of logs and artifacts is 3 months.
- /home/runner is world writable, so a workaround has been added for
starting dpdk processes.
- Ilya, working on OVS GHA support, noticed that jobs can run with
processors that don't have the same capabilities. For DPDK, this
impacts the ccache content since everything was built with
-march=native so far, and we will end up with binaries that can't run
in a later build. The problem has not been seen in Travis CI (?) but
it is safer to use a fixed "-Dmachine=default" in any case.
- Scheduling jobs is part of the configuration and takes the form of a
crontab. A build is scheduled every Monday at 0:00 (UTC) to provide a
default ccache for the week (useful for the ovsrobot).
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
2020-12-04 17:36:21 +00:00
|
|
|
- env: DEF_LIB="shared" RUN_TESTS=true
|
2020-08-28 11:45:37 +00:00
|
|
|
dist: focal
|
|
|
|
arch: arm64-graviton2
|
|
|
|
virt: vm
|
|
|
|
group: edge
|
|
|
|
compiler: clang
|