mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-13 20:19:07 +08:00
ci: execute install step in CI
Add simple execution of `make install` in Debian and Xenial build to catch most obvious breakages. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
92cb475558
commit
2cc0829775
@@ -11,7 +11,7 @@ source "$(dirname $0)/travis_wait.bash"
|
||||
cd $REPO_ROOT
|
||||
|
||||
CFLAGS="-g -O2 -Werror -Wall -fsanitize=address,undefined"
|
||||
mkdir build
|
||||
mkdir build install
|
||||
cc --version
|
||||
make CFLAGS="${CFLAGS}" -C ./src -B OBJDIR=../build
|
||||
ldd build/libbpf.so
|
||||
@@ -19,4 +19,5 @@ if ! ldd build/libbpf.so | grep -q libelf; then
|
||||
echo "FAIL: No reference to libelf.so in libbpf.so!"
|
||||
exit 1
|
||||
fi
|
||||
rm -rf build
|
||||
make -C src OBJDIR=../build DESTDIR=../install install
|
||||
rm -rf build install
|
||||
|
||||
Reference in New Issue
Block a user