Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

ci: enable Vulkan GPU for Qwen3-ASR on Windows builds

Louis Beaumont6c1cf73ba452
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index a8372f1b8..198a78a27 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -231,9 +231,9 @@ jobs:
tauri-args: "--target x86_64-apple-darwin --features metal,official-build"
os_type: "macos"
- platform: ${{ needs.check_commit.outputs.windows_runner || 'windows-2022' }}
- args: "--target x86_64-pc-windows-msvc --features mkl"
+ args: "--target x86_64-pc-windows-msvc --features mkl,vulkan"
pre-build-args: ""
- tauri-args: "--target x86_64-pc-windows-msvc --features official-build"
+ tauri-args: "--target x86_64-pc-windows-msvc --features official-build,vulkan"
os_type: "windows"
# Linux disabled - too many bundling issues
# - platform: "ubuntu-22.04"
@@ -1112,7 +1112,7 @@ jobs:
Push-Location ..
# Skip frontend rebuild (already built for stable) and vulkan
$env:TAURI_CLI_CONFIG = '{"build":{"beforeBuildCommand":""}}'
- bunx tauri build --target x86_64-pc-windows-msvc --features mkl,official-build
+ bunx tauri build --target x86_64-pc-windows-msvc --features mkl,vulkan,official-build
Pop-Location
Write-Host "=== Beta rebuild complete ==="
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index ec186ff3a..d55295d57 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -279,6 +279,17 @@ jobs:
Write-Host "ONNX Runtime extracted to $extractDir"
Get-ChildItem "$extractDir/lib" | ForEach-Object { Write-Host $_.Name }
+ - name: Shorten target dir to avoid MAX_PATH (Vulkan shaders)
+ shell: powershell
+ run: |
+ $targetDir = "target"
+ $shortDir = "C:\t"
+ if (Test-Path $shortDir) { Remove-Item -Recurse -Force $shortDir }
+ New-Item -ItemType Directory -Force -Path $shortDir | Out-Null
+ if (Test-Path $targetDir) { Remove-Item -Recurse -Force $targetDir }
+ cmd /c mklink /J $targetDir $shortDir
+ Write-Host "Created junction: $targetDir -> $shortDir"
+
- name: Build CLI
env:
CARGO_PROFILE_RELEASE_STRIP: "none"
@@ -290,7 +301,7 @@ jobs:
VCPKG_STATIC_LINKAGE: "true"
KNF_STATIC_CRT: 1
run: |
- cargo build --release --target x86_64-pc-windows-msvc
+ cargo build --release --features vulkan --target x86_64-pc-windows-msvc
- name: Upload debug symbols to Sentry
shell: powershell
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index 553fdb318..9c2c467cd 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -223,7 +223,7 @@ jobs:
KNF_STATIC_CRT: "1"
CMAKE_ARGS: "-DGGML_NATIVE=OFF -DGGML_AVX512=OFF -DGGML_AVX512_VBMI=OFF -DGGML_AVX512_VNNI=OFF -DGGML_AVX512_BF16=OFF"
with:
- args: "--target x86_64-pc-windows-msvc --features mkl,enterprise-build"
+ args: "--target x86_64-pc-windows-msvc --features mkl,vulkan,enterprise-build"
projectPath: "./apps/screenpipe-app-tauri"
tauriScript: bunx tauri -v
retryAttempts: 3