Skip to content

Fix raytracing

Fix raytracing #817

name: Emscripten (WebGPU)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Apt Update
run: sudo apt update
- name: Apt Install
run: sudo apt install ninja-build --yes --quiet
- name: Get Submodules
run: ./get_dlc
- name: Compile (kmake)
run: ./make emscripten -g webgpu --kinc . --from Tests/Empty
- name: Compile (emscripten)
run: git clone https://github.com/emscripten-core/emsdk.git && cd emsdk && ./emsdk install latest && ./emsdk activate latest && source ./emsdk_env.sh && cd ../build/Release && ninja