File tree Expand file tree Collapse file tree 4 files changed +7
-82
lines changed Expand file tree Collapse file tree 4 files changed +7
-82
lines changed Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 name : build
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-24.04
1212 steps :
1313
1414 - name : setup-podman
Original file line number Diff line number Diff line change 11# ` node-static `
22
33Highly opinionated x86_64-linux nodejs build, fully statically linked,
4- with pointer compression, clang LTO and mimalloc. Should be fast
5- when it works, but it doesn't work with native addons, so don't use it
6- in your project unless you know what you're doing.
4+ with pointer compression and mimalloc. Should be fast when it works,
5+ but it doesn't work with native addons, so don't use it in your
6+ project unless you know what you're doing.
Original file line number Diff line number Diff line change 22
33set -eu
44
5- node_ver=v22.1 .0
5+ node_ver=v22.2 .0
66
77apk add \
8- clang \
98 linux-headers \
10- lld \
11- llvm \
129 python3 \
1310 xz
1411
1512cd " $( mktemp -d) "
1613
17- curl -f -L --retry 5 https://nodejs.org/dist/$node_ver /node-$node_ver .tar.gz | tar xz --strip-components=1
18- patch -p1 -i /workspace/node-clang-lto.diff
14+ curl -f -L --retry 5 https://nodejs.org/dist/$node_ver /node-$node_ver .tar.xz | tar xJ --strip-components=1
1915patch -p1 -i /workspace/use-etc-ssl-certs.patch
2016
2117make -j" $( nproc) " binary \
22- AR=" llvm-ar" \
23- CC=" clang" \
24- CXX=" clang++" \
25- CONFIG_FLAGS=" --enable-lto --experimental-enable-pointer-compression --fully-static --openssl-use-def-ca-store" \
18+ CONFIG_FLAGS=" --experimental-enable-pointer-compression --fully-static --openssl-use-def-ca-store" \
2619 VARIATION=" static"
2720
2821mv node-$node_ver -linux-x64-static.tar.xz /workspace
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments