Skip to content

Fixed implementation of VariableDeclarationExpression::loadNativeFunc… #60

Fixed implementation of VariableDeclarationExpression::loadNativeFunc…

Fixed implementation of VariableDeclarationExpression::loadNativeFunc… #60

Workflow file for this run

name: Build CI [WebAssembly]
on:
push:
paths:
- .github/workflows/**
- include/**
- src/**
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Pull submodules
run: |
git submodule update --init --recursive
git pull --recurse-submodules
- name: Install Emscripten
uses: mymindstorm/setup-emsdk@v14
- name: Verify Emscripten
run: em++ -v
- name: Build WASM
run: |
mkdir dist
em++ --bind -Wno-header-guard -Iinclude -Ilib/QuickDigest5/include -pipe -O3 -ffast-math -std=c++17 -funroll-loops $(find lib/QuickDigest5/src -type f -name "*.cpp") $(find src -type f -name "*.cpp") -sEXPORTED_FUNCTIONS=_executeSource -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -o dist/n8.js
ls -ral dist
- name: Upload dist folder
uses: actions/upload-artifact@v4
with:
name: n8-wasm
path: dist/
retention-days: 1