Update python-app.yml

This commit is contained in:
Anthony Samms
2025-09-15 11:27:37 -04:00
parent 0dcdf430f5
commit 9852f3d120

View File

@@ -113,17 +113,27 @@ jobs:
# Copy the compiled library # Copy the compiled library
if (Test-Path "libaudio.dll") { if (Test-Path "libaudio.dll") {
Copy-Item "libaudio.dll" "../../build/lib/" Copy-Item "libaudio.dll" "../../build/lib/"
echo "Copied libaudio.dll"
} }
if (Test-Path "audio.dll") { if (Test-Path "audio.dll") {
Copy-Item "audio.dll" "../../build/lib/" Copy-Item "audio.dll" "../../build/lib/"
echo "Copied audio.dll"
} }
# Copy vcpkg DLLs that might be needed at runtime # Copy vcpkg DLLs that are needed at runtime
$vcpkgBin = "$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows/bin" $vcpkgBin = "$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows/bin"
if (Test-Path $vcpkgBin) { if (Test-Path $vcpkgBin) {
Copy-Item "$vcpkgBin/*.dll" "../../build/lib/" -ErrorAction SilentlyContinue echo "Copying runtime DLLs from vcpkg..."
Get-ChildItem "$vcpkgBin/*.dll" | ForEach-Object {
Copy-Item $_.FullName "../../build/lib/" -ErrorAction SilentlyContinue
echo "Copied $($_.Name)"
}
} }
# Verify what was copied
echo "Files in build/lib:"
ls ../../build/lib/
# Add to PATH # Add to PATH
echo "${{ github.workspace }}/build/lib" >> $env:GITHUB_PATH echo "${{ github.workspace }}/build/lib" >> $env:GITHUB_PATH
shell: powershell shell: powershell