Skip to content

Commit

Permalink
v22.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Jul 16, 2024
1 parent 6abe640 commit 3e0ded8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ jobs:
- name: setup-podman
uses: TerrorJack/setup-podman@master

- name: build-image
run: |
pushd "$(mktemp -d)"
curl -f -L --retry 5 https://github.com/tweag/rust-alpine-mimalloc/archive/refs/heads/master.tar.gz | tar xz --strip-components=1
podman build \
--network host \
--pull \
--squash-all \
--tag rust:alpine-mimalloc \
.
popd
- name: checkout
uses: actions/checkout@v4

Expand All @@ -38,7 +26,7 @@ jobs:
--tmpfs /tmp:exec \
--volume $PWD:/workspace \
--workdir /workspace \
rust:alpine-mimalloc \
chimeralinux/chimera \
/workspace/build.sh
- name: test-node
Expand Down
17 changes: 13 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@

set -eu

node_ver=v22.3.0
node_ver=v22.4.1

apk add \
bsdtar \
chimerautils-extra \
clang \
curl \
gmake \
libatomic-chimera-devel-static \
libcxx-devel-static \
linux-headers \
python3 \
xz
musl-devel-static \
python

cd "$(mktemp -d)"

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

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

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

0 comments on commit 3e0ded8

Please sign in to comment.