From 4b969d4dea3a8bf1f8f1485e4f3bf42a5acca7d5 Mon Sep 17 00:00:00 2001 From: yunwei37 Date: Wed, 21 Aug 2024 02:35:45 +0000 Subject: [PATCH] update CI sripts --- .github/workflows/test-runtime.yml | 20 +++++++++++++++++++- vm/llvm-jit | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-runtime.yml b/.github/workflows/test-runtime.yml index eafcf6a1..b292ba19 100644 --- a/.github/workflows/test-runtime.yml +++ b/.github/workflows/test-runtime.yml @@ -37,6 +37,24 @@ jobs: cmake -Bbuild -DBPFTIME_LLVM_JIT=YES -DBPFTIME_ENABLE_UNIT_TESTING=YES -DBPFTIME_ENABLE_MPK=YES -DCMAKE_BUILD_TYPE=Debug cmake --build build --config Debug --target bpftime_runtime_tests -j$(nproc) - - name: test runtime with mpk run: ./build/runtime/unit-test/bpftime_runtime_tests + + - name: build runtime with ubpf and verifier enable + run: | + rm -rf build + cmake -Bbuild -DBPFTIME_LLVM_JIT=0 -DBPFTIME_ENABLE_UNIT_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DBPFTIME_ENABLE_LTO=1 \ + -DBUILD_BPFTIME_DAEMON=1 + cmake --build build --config Release + + - name: build runtime without libbpf + run: | + rm -rf build + cmake -Bbuild -DBPFTIME_BUILD_WITH_LIBBPF=0 + cmake --build build --config Release + + - name: build runtime static lib + run: | + rm -rf build + cmake -Bbuild -DBPFTIME_BUILD_STATIC_LIB=1 + cmake --build build --config Release diff --git a/vm/llvm-jit b/vm/llvm-jit index 850dde3a..614181c5 160000 --- a/vm/llvm-jit +++ b/vm/llvm-jit @@ -1 +1 @@ -Subproject commit 850dde3a29af4d480e97ff4f853046d6a687aeb1 +Subproject commit 614181c5b6e804b5795eb50bcf76690a3e2a63e9