mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-27 01:30:06 +00:00
Update appveyor.yml
This commit is contained in:
parent
a16ca26b30
commit
2f0e4601a8
10
appveyor.yml
10
appveyor.yml
@ -85,11 +85,12 @@ after_build:
|
|||||||
rm .\msvc_build\bin\release\*.pdb
|
rm .\msvc_build\bin\release\*.pdb
|
||||||
|
|
||||||
mkdir $RELEASE_DIST
|
mkdir $RELEASE_DIST
|
||||||
|
Copy-Item .\dlls\SDL2.dll -force -Destination $RELEASE_DIST
|
||||||
Copy-Item .\msvc_build\bin\release\* -Destination $RELEASE_DIST -Recurse
|
Copy-Item .\msvc_build\bin\release\* -Destination $RELEASE_DIST -Recurse
|
||||||
Copy-Item .\license.txt -Destination $RELEASE_DIST
|
Copy-Item .\license.txt -Destination $RELEASE_DIST
|
||||||
Copy-Item .\README.md -Destination $RELEASE_DIST
|
Copy-Item .\README.md -Destination $RELEASE_DIST
|
||||||
7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* .\dlls\SDL2.dll
|
7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\*
|
||||||
7z a $MSVC_SEVENZIP $RELEASE_DIST .\dlls\SDL2.dll
|
7z a $MSVC_SEVENZIP $RELEASE_DIST
|
||||||
} else {
|
} else {
|
||||||
$MINGW_BUILD_ZIP = "citra-windows-mingw-$GITDATE-$GITREV.zip" -replace " ", ""
|
$MINGW_BUILD_ZIP = "citra-windows-mingw-$GITDATE-$GITREV.zip" -replace " ", ""
|
||||||
$MINGW_SEVENZIP = "citra-windows-mingw-$GITDATE-$GITREV.7z" -replace " ", ""
|
$MINGW_SEVENZIP = "citra-windows-mingw-$GITDATE-$GITREV.7z" -replace " ", ""
|
||||||
@ -111,6 +112,7 @@ after_build:
|
|||||||
mkdir $RELEASE_DIST/platforms
|
mkdir $RELEASE_DIST/platforms
|
||||||
|
|
||||||
# copy the compiled binaries and other release files to the release folder
|
# copy the compiled binaries and other release files to the release folder
|
||||||
|
Copy-Item $CMAKE_SOURCE_DIR\dlls\SDL2.dll -force -Destination $RELEASE_DIST
|
||||||
Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "citra*.exe" | Copy-Item -destination $RELEASE_DIST
|
Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "citra*.exe" | Copy-Item -destination $RELEASE_DIST
|
||||||
# copy the libcurl dll
|
# copy the libcurl dll
|
||||||
Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "libcurl.dll" | Copy-Item -destination $RELEASE_DIST
|
Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "libcurl.dll" | Copy-Item -destination $RELEASE_DIST
|
||||||
@ -138,8 +140,8 @@ after_build:
|
|||||||
# copy the qt windows plugin dll to platforms
|
# copy the qt windows plugin dll to platforms
|
||||||
Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms"
|
Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms"
|
||||||
|
|
||||||
7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\* $CMAKE_SOURCE_DIR\dlls\SDL2.dll
|
7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\*
|
||||||
7z a $MINGW_SEVENZIP $RELEASE_DIST $CMAKE_SOURCE_DIR\dlls\SDL2.dll
|
7z a $MINGW_SEVENZIP $RELEASE_DIST
|
||||||
}
|
}
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user