Windows Vulkan native build #4
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 Vulkan native build | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2022 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
ref: ${{ github.head_ref }} | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- name: Install Vulkan SDK | |
uses: jakoch/[email protected] | |
with: | |
vulkan_version: 1.3.290.0 | |
optional_components: com.lunarg.vulkan.vma | |
install_runtime: true | |
cache: true | |
stripdown: true | |
- name: Run Build | |
run: | | |
Import-Module ./windows-scripts.ps1 | |
BuildWindowsBase -Arch "x64" -Configuration "Release" -Vulkan $true | |
shell: pwsh | |
- name: Upload Windows Vulkan Build Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: windows-vulkan-build | |
path: 'Whisper.net.Run*/win-*/*' |