Fix raytracing #817
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |