Create windows_build_dawn.yml #2
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: Windows Build Dawn | |
on: | |
push: | |
workflow_dispatch: {} | |
env: | |
BUILD_TYPE: Release | |
WEBGPU_BACKEND: DAWN | |
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: Setup Vulkan SDK | |
uses: humbletim/[email protected] | |
- name: Render | |
run: ${{github.workspace}}/build/Release/Portracer.exe | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
with: | |
name: windows_build | |
path: ${{github.workspace}}/build |