From cf4e576ab85e80354c6f5ac40f22a92afb199bcc Mon Sep 17 00:00:00 2001 From: Joey Jiao Date: Fri, 12 Jul 2024 11:21:10 +0800 Subject: all: add npm package to syz-env act(https://github.com/nektos/act) is used to build github workflow locally. When running `act -j build` in local host, it reports: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown. Adding nodejs package can fix the build error. Updated docs with act usage too. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cda7859ea..b8502f2da 100644 --- a/Makefile +++ b/Makefile @@ -392,7 +392,7 @@ clean: # For a tupical Ubuntu/Debian distribution. # We use "|| true" for apt-get install because packages are all different on different distros. # Also see tools/syz-env for container approach. -install_prerequisites: +install_prerequisites: act uname -a sudo apt-get update sudo apt-get install -y -q libc6-dev-i386 linux-libc-dev \ @@ -437,3 +437,6 @@ check_diff: check_shebang: ./tools/check-shebang.sh + +act: + curl https://raw.githubusercontent.com/nektos/act/master/install.sh | bash -- cgit mrf-deployment