File tree 9 files changed +1682
-1408
lines changed
9 files changed +1682
-1408
lines changed Original file line number Diff line number Diff line change 5
5
6
6
on :
7
7
pull_request :
8
+ push :
8
9
9
10
jobs :
10
11
build :
11
12
strategy :
12
13
fail-fast : false
13
14
matrix :
14
15
os : [ubuntu-24.04, macos-13, macos-14]
15
- node : [18, 20, 22]
16
+ node : [20, 22]
16
17
17
18
runs-on : ${{ matrix.os }}
18
19
name : Node ${{ matrix.os }}, node-${{ matrix.node }} sample
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ set(EM_LINK_FLAGS
27
27
# "-sSTANDALONE_WASM=0"
28
28
# "-sBINARYEN_ASYNC_COMPILATION=1"
29
29
# "-sDYNAMIC_EXECUTION=0"
30
+ "-sWASM_BIGINT=0"
30
31
"-sPOLYFILL=0"
31
32
# "-sSTRICT=0"
32
33
"-sIGNORE_MISSING_MAIN=0"
@@ -45,7 +46,6 @@ set(EM_LINK_FLAGS
45
46
if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" )
46
47
set (EM_LINK_FLAGS
47
48
${EM_LINK_FLAGS}
48
- "-sUSE_ES6_IMPORT_META=1"
49
49
"-gsource-map"
50
50
"--source-map-base ./" # Debugging c++ only works in browser with "Experimental DWARF support turned on"
51
51
)
@@ -65,7 +65,6 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebIn
65
65
else ()
66
66
set (EM_LINK_FLAGS
67
67
${EM_LINK_FLAGS}
68
- "-sUSE_ES6_IMPORT_META=0"
69
68
)
70
69
endif ()
71
70
Original file line number Diff line number Diff line change 1
1
# @hpcc-js/wasm - Version 3
2
2
3
- ![ Tests] ( https://github.com/hpcc-systems/hpcc-js-wasm/workflows/Test%20PR/badge.svg )
4
- [ ![ Coverage Status] ( https://coveralls.io/repos/github/GordonSmith/hpcc-js-wasm/badge.svg?branch=BUMP_VERSIONS )] ( https://coveralls.io/github/GordonSmith/hpcc-js-wasm?branch=BUMP_VERSIONS )
3
+ [ ![ Test PR] ( https://github.com/hpcc-systems/hpcc-js-wasm/actions/workflows/test-pr.yml/badge.svg )] ( https://github.com/hpcc-systems/hpcc-js-wasm/actions/workflows/test-pr.yml )
4
+ [ ![ release-please] ( https://github.com/hpcc-systems/hpcc-js-wasm/actions/workflows/release-please.yml/badge.svg )] ( https://github.com/hpcc-systems/hpcc-js-wasm/actions/workflows/release-please.yml )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/hpcc-systems/hpcc-js-wasm/badge.svg?branch=BUMP_VERSIONS )] ( https://coveralls.io/github/GordonSmith/hpcc-js-wasm?branch=BUMP_VERSIONS )
5
6
6
7
This repository contains a collection of useful c++ libraries compiled to WASM for (re)use in Node JS, Web Browsers and JavaScript Libraries:
7
8
- [ base91] ( https://base91.sourceforge.net/ ) - v0.6.0
@@ -13,7 +14,7 @@ This repository contains a collection of useful c++ libraries compiled to WASM f
13
14
- ...more to follow...
14
15
15
16
Built with:
16
- - [ emsdk] ( https://github.com/emscripten-core/emsdk ) - v3.1.73
17
+ - [ emsdk] ( https://github.com/emscripten-core/emsdk ) - v4.0.5
17
18
18
19
## Homepage and Documents
19
20
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN apt-get install -y python3 python3-pip
15
15
RUN apt-get install -y ca-certificates curl gnupg
16
16
RUN mkdir -p /etc/apt/keyrings
17
17
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
18
- ENV NODE_MAJOR=18
18
+ ENV NODE_MAJOR=20
19
19
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
20
20
RUN apt-get update
21
21
RUN apt-get install -y nodejs
@@ -32,11 +32,19 @@ COPY ./vcpkg.json ./vcpkg.json
32
32
RUN ./scripts/cpp-install-vcpkg.sh
33
33
34
34
COPY ./package*.json .
35
+ COPY ./packages ./packages
36
+ COPY ./utils ./utils
35
37
RUN npm ci
38
+ RUN npm run install-playright-with-deps
36
39
37
- COPY ./src-asm ./src-asm
38
40
COPY ./src-cpp ./src-cpp
39
- COPY ./src-ts ./src-ts
40
- COPY ./utils ./utils
41
+ COPY ./CMake* .
42
+ COPY ./vcpkg* .
43
+ COPY ./lerna* .
44
+ COPY ./vitest* .
45
+
46
+ ENTRYPOINT ["/bin/bash" , "--login" , "-c" ]
47
+
48
+ CMD ["/bin/bash" ]
41
49
42
- CMD ["npm" , "run" , "test-node" ]
50
+ # CMD ["npm", "run", "test-node"]
You can’t perform that action at this time.
0 commit comments