Update to latest Kinc #105
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: HTML5 (WebGPU) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get krink Submodules | |
run: git submodule update --init | |
- name: Get Kinc DLC | |
run: ./Kinc/get_dlc | |
- name: Compile (kmake) | |
run: Kinc/make emscripten -g webgpu --kinc Kinc --from Tests/Empty --noshaders | |
- 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 && make |