aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Jiao <quic_jiangenj@quicinc.com>2024-07-12 11:21:10 +0800
committerAleksandr Nogikh <nogikh@google.com>2024-08-29 14:28:35 +0000
commitcf4e576ab85e80354c6f5ac40f22a92afb199bcc (patch)
tree0b1a55b82839031ef347f285d9f884941a605044 /Makefile
parente46dcff2767435630f9f28e4e5ea141309798801 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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