Skip to content

Windows native build #46

Windows native build

Windows native build #46

name: Windows native build
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-2019
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 OpenCl with vcpkg
# run: |
# vcpkg --triplet=x64-windows install opencl
# - name: Install CUDA Toolkit
# uses: Jimver/cuda-toolkit@v0.2.11
# with:
# cuda: '12.1.0'
- name: Run Build
run: |
Import-Module ./windows-scripts.ps1
BuildWindowsIntel
shell: pwsh
# - name: Remove CUDA installer
# run: Remove-Item -Path 'cuda_installer-*' -Recurse -Force -ErrorAction Ignore
- name: Upload Windows Build Artifacts
uses: actions/upload-artifact@v3
with:
name: windows-build
path: 'Whisper.net.Runtime/win-*/*'