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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
ci: add OpenBLAS runtime to Windows test PATH (#5206)
Ezra Ellette8fd4add79fd8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex a41bfa3a3..97f852af9 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -276,23 +276,23 @@ jobs:Write-Host "$($_.Name) $($_.Length) bytes"}- # Add the ONNX lib dir to PATH for ALL cargo-test steps below.- # The DLL staging step above does put onnxruntime*.dll next to the- # test binaries (verified via Get-ChildItem), but accuracy_test- # still exits 0xc0000135 (STATUS_DLL_NOT_FOUND) — the loader- # resolves the .exe's adjacent dir BEFORE PATH only on the- # primary DLL; transitive deps still go through standard search,- # and on a sccache-restored deps/ at least one of those misses.- # Prepending the lib dir to PATH makes the Windows DLL loader- # find onnxruntime.dll + its providers via search regardless of- # adjacent-file presence — same approach Tauri's release bundle- # uses via resourcesMap on `--no-bundle`-skipped paths.- - name: Add ONNX lib dir to PATH for cargo tests+ # Add native DLL dirs to PATH for ALL cargo-test steps below.+ # screenpipe-engine directly imports both onnxruntime.dll and+ # libopenblas.dll. pre_build.js sets OPENBLAS_PATH to the package+ # root, but the Windows loader needs its bin/ directory on PATH.+ - name: Add native DLL dirs to PATH for cargo testsshell: pwshrun: |$ortLib = "${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-${{ env.ONNXRUNTIME_VERSION }}/lib"+ $openblasBin = Join-Path $env:OPENBLAS_PATH "bin"+ $openblasDll = Join-Path $openblasBin "libopenblas.dll"+ if (-not (Test-Path $openblasDll)) {+ throw "Required OpenBLAS runtime DLL not found: $openblasDll"+ }echo $ortLib | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append+ echo $openblasBin | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -AppendWrite-Host "PATH appended: $ortLib"+ Write-Host "PATH appended: $openblasBin"- name: Run specific Windows OCR cargo testenv: