Skip to content

Commit

Permalink
Create windows_build_dawn.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kugimasa authored Aug 21, 2023
1 parent 0d3f074 commit d8581bc
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/windows_build_dawn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Windows Build Dawn

on:
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: Render
run: ${{github.workspace}}/build/Release/Portracer.exe

- name: Upload Artifacts
uses: actions/[email protected]
with:
name: windows_build
path: ${{github.workspace}}/build

0 comments on commit d8581bc

Please sign in to comment.