Skip to content

Update CMakeLists.txt for resource destination. #37

Update CMakeLists.txt for resource destination.

Update CMakeLists.txt for resource destination. #37

name: Windows Build wgpu-native
on:
push:
workflow_dispatch: {}
env:
BUILD_TYPE: Release
WEBGPU_BACKEND: WGPU
DEV_MODE: OFF
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure CMake
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DWEBGPU_BACKEND=${{env.WEBGPU_BACKEND}}
-DDEV_MODE=${{env.DEV_MODE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload Artifacts
uses: actions/[email protected]
with:
name: windows_build
path: ${{github.workspace}}/build