Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bkaradzic/bgfx.git into s…
Browse files Browse the repository at this point in the history
…haderc-output-type
  • Loading branch information
cykoder committed Oct 10, 2024
2 parents 7e94a9f + dd4199b commit 7d8d72b
Show file tree
Hide file tree
Showing 1,038 changed files with 31,150 additions and 13,608 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 7d8d72b

Please sign in to comment.