Skip to content

Commit 3e0ded8

Browse files
committed
v22.4.1
1 parent 6abe640 commit 3e0ded8

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@ jobs:
1414
- name: setup-podman
1515
uses: TerrorJack/setup-podman@master
1616

17-
- name: build-image
18-
run: |
19-
pushd "$(mktemp -d)"
20-
curl -f -L --retry 5 https://github.com/tweag/rust-alpine-mimalloc/archive/refs/heads/master.tar.gz | tar xz --strip-components=1
21-
podman build \
22-
--network host \
23-
--pull \
24-
--squash-all \
25-
--tag rust:alpine-mimalloc \
26-
.
27-
popd
28-
2917
- name: checkout
3018
uses: actions/checkout@v4
3119

@@ -38,7 +26,7 @@ jobs:
3826
--tmpfs /tmp:exec \
3927
--volume $PWD:/workspace \
4028
--workdir /workspace \
41-
rust:alpine-mimalloc \
29+
chimeralinux/chimera \
4230
/workspace/build.sh
4331
4432
- name: test-node

build.sh

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,29 @@
22

33
set -eu
44

5-
node_ver=v22.3.0
5+
node_ver=v22.4.1
66

77
apk add \
8+
bsdtar \
9+
chimerautils-extra \
10+
clang \
11+
curl \
12+
gmake \
13+
libatomic-chimera-devel-static \
14+
libcxx-devel-static \
815
linux-headers \
9-
python3 \
10-
xz
16+
musl-devel-static \
17+
python
1118

1219
cd "$(mktemp -d)"
1320

1421
curl -f -L --retry 5 https://nodejs.org/dist/$node_ver/node-$node_ver.tar.xz | tar xJ --strip-components=1
1522
patch -p1 -i /workspace/use-etc-ssl-certs.patch
1623

17-
make -j"$(nproc)" binary \
24+
gmake -j"$(nproc)" binary \
25+
CC=clang \
1826
CONFIG_FLAGS="--experimental-enable-pointer-compression --fully-static --openssl-use-def-ca-store" \
27+
CXX=clang++ \
1928
VARIATION="static"
2029

2130
mv node-$node_ver-linux-x64-static.tar.xz /workspace

0 commit comments

Comments
 (0)