Skip to content

Commit

Permalink
build artif
Browse files Browse the repository at this point in the history
  • Loading branch information
SnosMe committed Nov 14, 2023
1 parent 1dde1e0 commit 69a39e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mymindstorm/setup-emsdk@v10
- uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v12
- run: emcmake cmake -B build -DCMAKE_BUILD_TYPE=Release
- run: cmake --build build
- run: npm pack
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: package
path: ooz-wasm-*.tgz
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ target_compile_options(ooz PRIVATE "-msimd128" "-msse2")

target_link_options(ooz PRIVATE
"SHELL:-s WASM=1"
"SHELL:-s WASM_ASYNC_COMPILATION=0"
"SHELL:-s FILESYSTEM=0"
"SHELL:-s MODULARIZE=1"
"SHELL:-s EXPORT_ES6=1"
"SHELL:-s STRICT=1"
"SHELL:-s SINGLE_FILE=1"
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ooz-wasm",
"version": "1.0.1",
"version": "2.0.0",
"author": {
"name": "Alexander Drozdov"
},
Expand Down

0 comments on commit 69a39e7

Please sign in to comment.