summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 77d8c8554..fe6b649f5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,8 +13,8 @@ environment:
13 # Tell msys2 to inherit the current directory when starting the shell 13 # Tell msys2 to inherit the current directory when starting the shell
14 CHERE_INVOKING: 1 14 CHERE_INVOKING: 1
15 matrix: 15 matrix:
16 - BUILD_TYPE: mingw
17 - BUILD_TYPE: msvc 16 - BUILD_TYPE: msvc
17 - BUILD_TYPE: mingw
18 18
19platform: 19platform:
20 - x64 20 - x64
@@ -80,12 +80,19 @@ after_build:
80 $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB 80 $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB
81 $env:BUILD_UPDATE = $MSVC_SEVENZIP 81 $env:BUILD_UPDATE = $MSVC_SEVENZIP
82 82
83 $BUILD_DIR = ".\msvc_build\bin\Release"
84
85 # Make a debug symbol upload
83 mkdir pdb 86 mkdir pdb
84 Get-ChildItem ".\msvc_build\bin\" -Recurse -Filter "*.pdb" | Copy-Item -destination .\pdb 87 Get-ChildItem "$BUILD_DIR\" -Recurse -Filter "*.pdb" | Copy-Item -destination .\pdb
85 7z a -tzip $MSVC_BUILD_PDB .\pdb\*.pdb 88 7z a -tzip $MSVC_BUILD_PDB .\pdb\*.pdb
89 rm "$BUILD_DIR\*.pdb"
86 90
87 mkdir $RELEASE_DIST 91 mkdir $RELEASE_DIST
88 Get-ChildItem ".\msvc_build\bin\" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST 92 # get rid of extra exes by copying everything over, then deleting all the exes, then copying just the exes we want
93 Copy-Item "$BUILD_DIR\*" -Destination $RELEASE_DIST -Recurse
94 rm "$RELEASE_DIST\*.exe"
95 Get-ChildItem "$BUILD_DIR" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination $RELEASE_DIST
89 Copy-Item .\license.txt -Destination $RELEASE_DIST 96 Copy-Item .\license.txt -Destination $RELEASE_DIST
90 Copy-Item .\README.md -Destination $RELEASE_DIST 97 Copy-Item .\README.md -Destination $RELEASE_DIST
91 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* 98 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\*