ci: fetch and build latest pahole

Build latest pahole from sources and not rely on hacky Ubuntu repository
approach.
Also enable tests for latest kernel that rely on pahole 1.16.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
Andrii Nakryiko
2020-02-21 15:11:54 -08:00
committed by Andrii Nakryiko
parent 17c26b7da6
commit 22d5d40493
5 changed files with 41 additions and 19 deletions

View File

@@ -21,6 +21,7 @@ addons:
- elfutils
- libcap-dev
- libelf-dev
- libdw-dev
stages:
# Run Coverity periodically instead of for each PR for following reasons:
@@ -96,13 +97,6 @@ jobs:
env: KERNEL=5.5.0
script: $CI_ROOT/vmtest/run_vmtest.sh || travis_terminate
# 5.5.0-rc6 is built from bpf-next; TODO(hex@): remove when pahole v1.16 is available
- name: Kernel 5.5.0-rc6 (pahole 1.16) + selftests
language: bash
env: KERNEL=5.5.0-rc6
install: sudo adduser "${USER}" kvm
script: $CI_ROOT/vmtest/run_vmtest.sh || travis_terminate
- name: Kernel LATEST + selftests
language: bash
env: KERNEL=LATEST