mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update python-app.yml
This commit is contained in:
14
.github/workflows/python-app.yml
vendored
14
.github/workflows/python-app.yml
vendored
@@ -113,16 +113,26 @@ jobs:
|
||||
# Copy the compiled library
|
||||
if (Test-Path "libaudio.dll") {
|
||||
Copy-Item "libaudio.dll" "../../build/lib/"
|
||||
echo "Copied libaudio.dll"
|
||||
}
|
||||
if (Test-Path "audio.dll") {
|
||||
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"
|
||||
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
|
||||
echo "${{ github.workspace }}/build/lib" >> $env:GITHUB_PATH
|
||||
|
||||
Reference in New Issue
Block a user