Make g2 work in wasm #346
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: macOS (Metal) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Submodules | |
run: git submodule update --init --recursive | |
- name: Apply patch | |
run: git apply patch/metal_raytrace.diff --directory=Kinc | |
- name: Compile | |
run: Kinc/make -g metal --compile |