GHA: Try to fix wasm build.

This commit is contained in:
Бранимир Караџић 2022-10-02 20:41:24 -07:00
parent 67cbd290f7
commit d312be36a5

View File

@ -161,11 +161,10 @@ jobs:
docker pull emscripten/emsdk docker pull emscripten/emsdk
docker run --rm emscripten/emsdk which emcc em++ emar docker run --rm emscripten/emsdk which emcc em++ emar
- name: Build - name: Build
run: > run: |
cd bgfx cd bgfx
../bx/tools/bin/linux/genie --with-examples --gcc=wasm gmake ../bx/tools/bin/linux/genie --with-examples --gcc=wasm gmake
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/bgfx emscripten/emsdk docker run --rm -u $(id -u):$(id -g) -v $(pwd):/bgfx emscripten/emsdk make --no-print-directory -C .build/projects/gmake-wasm config=${{ matrix.config }} -j$(nproc) EMSCRIPTEN=/emsdk/upstream/emscripten
make --no-print-directory -C .build/projects/gmake-wasm config=${{ matrix.config }} -j$(nproc) EMSCRIPTEN=/emsdk/upstream/emscripten
- name: Check - name: Check
run: | run: |
cd bgfx cd bgfx