File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 18
18
podman build \
19
19
--network host \
20
20
--pull \
21
- --squash \
21
+ --squash-all \
22
22
--tag rust:alpine-mimalloc \
23
23
.
24
24
popd
38
38
rust:alpine-mimalloc \
39
39
/workspace/build.sh
40
40
41
+ - name : test-node
42
+ run : |
43
+ tar xJf node-v*-linux-x64-static.tar.xz
44
+ export PATH=$PWD/node-v*-linux-x64-static/bin:$PATH
45
+ npm install @bjorn3/browser_wasi_shim
46
+
41
47
- name : upload-artifact
42
48
uses : actions/upload-artifact@v4
43
49
with :
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ cd "$(mktemp -d)"
16
16
17
17
curl -f -L --retry 5 https://nodejs.org/dist/$node_ver /node-$node_ver .tar.gz | tar xz --strip-components=1
18
18
patch -p1 -i /workspace/node-clang-lto.diff
19
+ patch -p1 -i /workspace/use-etc-ssl-certs.patch
19
20
20
21
make -j" $( nproc) " binary \
21
22
AR=" llvm-ar" \
@@ -24,6 +25,4 @@ make -j"$(nproc)" binary \
24
25
CONFIG_FLAGS=" --enable-lto --experimental-enable-pointer-compression --fully-static --openssl-use-def-ca-store" \
25
26
VARIATION=" static"
26
27
27
- out/Release/node -e ' console.log(6*7)' | grep -F 42
28
-
29
28
mv node-$node_ver -linux-x64-static.tar.xz /workspace
Original file line number Diff line number Diff line change
1
+ diff --git a/deps/openssl/openssl/include/internal/cryptlib.h b/deps/openssl/openssl/include/internal/cryptlib.h
2
+ index 329ef62..9a8df64 100644
3
+ --- a/deps/openssl/openssl/include/internal/cryptlib.h
4
+ +++ b/deps/openssl/openssl/include/internal/cryptlib.h
5
+ @@ -56,7 +56,7 @@ DEFINE_LHASH_OF(MEM);
6
+ # ifndef OPENSSL_SYS_VMS
7
+ # define X509_CERT_AREA OPENSSLDIR
8
+ # define X509_CERT_DIR OPENSSLDIR "/certs"
9
+ - # define X509_CERT_FILE OPENSSLDIR "/cert.pem"
10
+ + # define X509_CERT_FILE "/etc/ssl/certs/ca-certificates.crt"
11
+ # define X509_PRIVATE_DIR OPENSSLDIR "/private"
12
+ # define CTLOG_FILE OPENSSLDIR "/ct_log_list.cnf"
13
+ # else
You can’t perform that action at this time.
0 commit comments