Преглед на файлове

build: Ship vcpkg dlls with MSVC pr-verify builds

With our recent switchover from conan to vcpkg, we're shipping a few
more dll files, these need to be in the full zip.

    cp .\build\bin\*.dll .\artifacts\

also tacking on the fix where we're shipping scm_rev.cpp accidentally
Kyle Kienapfel преди 4 години
родител
ревизия
81f66eec0c
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      .ci/scripts/windows/upload.ps1

+ 4 - 3
.ci/scripts/windows/upload.ps1

@@ -54,6 +54,10 @@ Copy-Item .\CMakeModules -Recurse -Destination $MSVC_SOURCE
 if ("$env:GITHUB_ACTIONS" -eq "true") {
     echo "Hello GitHub Actions"
 
+    # With vcpkg we now have a few more dll files
+    ls .\build\bin\*.dll
+    cp .\build\bin\*.dll .\artifacts\
+
     # Hopefully there is an exe in either .\build\bin or .\build\bin\Release
     cp .\build\bin\yuzu*.exe .\artifacts\
     Copy-Item "$BUILD_DIR\*" -Destination "artifacts" -Recurse
@@ -109,6 +113,3 @@ Get-ChildItem . -Filter "*.zip" | Copy-Item -destination "artifacts"
 Get-ChildItem . -Filter "*.7z" | Copy-Item -destination "artifacts"
 Get-ChildItem . -Filter "*.tar.xz" | Copy-Item -destination "artifacts"
 }
-# Extra items
-git status
-cp .\build\src\common\scm_rev.cpp .\artifacts