diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e97bf42..99f0152 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,22 @@ jobs: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + - name: Setup emsdk + uses: mymindstorm/setup-emsdk@v11 + + - name: Install cmake + run: | + sudo apt-get update + sudo apt-get install cmake + + - name: Build wasm module + run: | + cd render + mkdir build + cd build + emcmake cmake .. + cmake --build . + - name: Use Node.js 18 uses: actions/setup-node@v3 with: diff --git a/.gitignore b/.gitignore index 2929ed9..5ceafdf 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,6 @@ coverage running *.zip + +build +CMakeUserPresets.json diff --git a/packages/client/index.html b/packages/client/index.html index 7792c8d..c460d2d 100644 --- a/packages/client/index.html +++ b/packages/client/index.html @@ -20,5 +20,6 @@
+