Fix wasm ci (#391)

* Update wasm-build.yml

* Set embed_rendererbackends with wasm

* wasm fixes

* Fix CI

* Update wasm-build.yml

* More wasm fixes

* Final fixes
This commit is contained in:
Jérôme Leclercq
2023-02-05 15:03:48 +01:00
committed by GitHub
parent a8b003224d
commit 20f70533c0
5 changed files with 16 additions and 23 deletions

View File

@@ -59,7 +59,7 @@ jobs:
- name: Setup emscripten
uses: mymindstorm/setup-emsdk@v11
with:
version: 1.38.40
version: 3.1.31
actions-cache-folder: emsdk-cache-${{ matrix.mode }}-${{ matrix.kind }}
# Cache xmake dependencies
@@ -71,16 +71,12 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake config --plat=wasm --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --ccache=n --assimp=n --ffmpeg=n --shadernodes=n --tests=y --yes
run: xmake config --plat=wasm --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --ccache=n --assimp=n --embed_rendererbackends=y --embed_plugins=y --link_openal=y --ffmpeg=n --shadernodes=n --tests=y --yes
# Build the engine
- name: Build Nazara
run: xmake --yes
# Setup installation configuration
- name: Configure xmake for installation
run: xmake config --plat=wasm --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --ccache=n --assimp=n --ffmpeg=n --shadernodes=n --tests=y --yes
# Install the result files
- name: Install Nazara
run: xmake install -vo package