diff --git a/.github/workflows/pr-compile-check.yaml b/.github/workflows/pr-compile-check.yaml index 13e73505535..f1e95a4e359 100644 --- a/.github/workflows/pr-compile-check.yaml +++ b/.github/workflows/pr-compile-check.yaml @@ -47,9 +47,13 @@ jobs: - name: Setup environment run: | sudo apt-get update - sudo apt-get install -y curl gcc-7 g++-7 clang-6.0 libsystemd-dev gcovr libyaml-dev libluajit-5.1-dev \ - libnghttp2-dev libjemalloc-dev libsqlite3-dev + sudo apt-get install -y curl gcc-7 g++-7 clang-6.0 libsystemd-dev gcovr libyaml-dev sudo ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symbolizer || true + + - name: Install system libraries for this test + run: | + sudo apt-get update + sudo apt-get install -y libjemalloc-dev libluajit-5.1-dev libnghttp2-dev libsqlite3-dev mkdir -p /tmp/libbacktrace/build && \ curl -L https://github.com/ianlancetaylor/libbacktrace/archive/8602fda.tar.gz | \ tar --strip-components=1 -xzC /tmp/libbacktrace/ && \ @@ -76,5 +80,11 @@ jobs: - name: Display dependencies w/ ldd run: | - ldd ./bin/fluent-bit + export ldd_result=$(ldd ./bin/fluent-bit) + echo "ldd result:" + echo "$ldd_result" + echo "$ldd_result" | grep libjemalloc + echo "$ldd_result" | grep libluajit + echo "$ldd_result" | grep libnghttp2 + echo "$ldd_result" | grep libsqlite3 working-directory: build