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