From 45ba21a79d901bd09ffb8dec3f1940371897e859 Mon Sep 17 00:00:00 2001 From: Han Gao Date: Tue, 9 Jan 2024 23:27:38 +0800 Subject: [PATCH] [NFU] ci: add build linux-perf as perf-th1520 Signed-off-by: Han Gao --- .github/workflows/kernel.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 7fb69dd13d5595..7a0689811257a7 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -99,6 +99,12 @@ jobs: # Install DTB sudo cp -v arch/riscv/boot/dts/thead/*.dtb ${GITHUB_WORKSPACE}/rootfs/boot/ + + # Build & Install perf + pushd tools/perf + make LDFLAGS=-static NO_LIBELF=1 NO_LIBTRACEEVENT=1 perf + cp -v perf ${GITHUB_WORKSPACE}/rootfs/perf-th1520 + popd popd - name: compress