Skip to content

Commit

Permalink
gh actions: split webgl2 and wgpu compilation into separate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Oct 22, 2023
1 parent fcc834c commit f37704d
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
run: python3 fips build sapp-egl-gles3-linux-make-debug
- name: sapp-egl-gles3-linux-make-release
run: python3 fips build sapp-egl-gles3-linux-make-release
emscripten:
webgl2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -92,18 +92,26 @@ jobs:
run: python3 fips build sapp-webgl2-wasm-ninja-debug
- name: sapp-webgl2-wasm-ninja-release
run: python3 fips build sapp-webgl2-wasm-ninja-release
- name: sapp-wgpu-wasm-ninja-debug
run: python3 fips build sapp-webgl2-wasm-ninja-debug
- name: sapp-wgpu-wasm-ninja-release
run: python3 fips build sapp-webgl2-wasm-ninja-release
- name: webgl2-wasm-ninja-debug
run: python3 fips build webgl2-wasm-ninja-debug
- name: webgl2-wasm-ninja-release
run: python3 fips build webgl2-wasm-ninja-release
wgpu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: prepare
run: |
sudo apt-get install ninja-build
python3 fips emsdk install latest
- name: sapp-wgpu-wasm-ninja-debug
run: python3 fips build sapp-wgpu-wasm-ninja-debug
- name: sapp-wgpu-wasm-ninja-release
run: python3 fips build sapp-wgpu-wasm-ninja-release
- name: wgpu-wasm-ninja-debug
run: python3 fips build webgl2-wasm-ninja-debug
run: python3 fips build wgpu-wasm-ninja-debug
- name: wgpu-wasm-ninja-release
run: python3 fips build webgl2-wasm-ninja-release
run: python3 fips build wgpu-wasm-ninja-release
android:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f37704d

Please sign in to comment.