|
|
@@ -134,42 +134,6 @@ jobs:
|
|
|
".build/linux64_gcc/bin/geometryc${{ matrix.binsuffix}}" --version
|
|
|
".build/linux64_gcc/bin/shaderc${{ matrix.binsuffix}}" --version
|
|
|
".build/linux64_gcc/bin/texturec${{ matrix.binsuffix}}" --version
|
|
|
- wasm:
|
|
|
- strategy:
|
|
|
- fail-fast: true
|
|
|
- matrix:
|
|
|
- config: [ debug, release]
|
|
|
- name: wasm-${{ matrix.config }}
|
|
|
- runs-on: ubuntu-22.04
|
|
|
- steps:
|
|
|
- - name: Checkout bgfx
|
|
|
- uses: actions/checkout@v3
|
|
|
- with:
|
|
|
- path: bgfx
|
|
|
- - name: Checkout bx
|
|
|
- uses: actions/checkout@v3
|
|
|
- with:
|
|
|
- repository: bkaradzic/bx
|
|
|
- path: bx
|
|
|
- - name: Checkout bimg
|
|
|
- uses: actions/checkout@v3
|
|
|
- with:
|
|
|
- repository: bkaradzic/bimg
|
|
|
- path: bimg
|
|
|
- - name: Prepare
|
|
|
- run: |
|
|
|
- docker pull emscripten/emsdk
|
|
|
- docker run --rm emscripten/emsdk which emcc em++ emar
|
|
|
- cd bgfx
|
|
|
- EMSCRIPTEN=/emsdk/upstream/emscripten ../bx/tools/bin/linux/genie --with-examples --gcc=wasm gmake
|
|
|
- - name: Build
|
|
|
- run: >
|
|
|
- docker run --rm -u $(id -u):$(id -g) -v $(pwd):/bgfx emscripten/emsdk
|
|
|
- make -C /bgfx/bgfx wasm-${{ matrix.config }} -j$(nproc) EMSCRIPTEN=/emsdk/upstream/emscripten
|
|
|
- - name: Check
|
|
|
- run: |
|
|
|
- cd bgfx
|
|
|
- ls -lash ".build/wasm/bin"
|
|
|
osx:
|
|
|
strategy:
|
|
|
fail-fast: true
|