summaryrefslogtreecommitdiffstats
path: root/ci/build_nghttp3.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xci/build_nghttp3.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/build_nghttp3.sh b/ci/build_nghttp3.sh
new file mode 100755
index 0000000..1e308ba
--- /dev/null
+++ b/ci/build_nghttp3.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+# build nghttp3 (for GitHub workflow)
+
+git clone https://github.com/ngtcp2/nghttp3
+cd nghttp3
+autoreconf -i
+./configure --prefix=$PWD/build --enable-lib-only
+make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" check
+make install