mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
CI: Use AppImage generation script for Linux build
This commit is contained in:
parent
a2a9bd16fa
commit
ccddb4456b
20
appveyor.yml
20
appveyor.yml
|
@ -54,25 +54,23 @@ build_script:
|
||||||
|
|
||||||
ninja
|
ninja
|
||||||
|
|
||||||
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
../appimage/generate-appimages.sh $(pwd)
|
||||||
|
|
||||||
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
|
if [ $? -eq 0 ]; then
|
||||||
|
|
||||||
chmod +x linuxdeploy-x86_64.AppImage
|
mv duckstation-qt-x64.AppImage duckstation-qt-x64-release.AppImage
|
||||||
|
|
||||||
chmod +x linuxdeploy-plugin-qt-x86_64.AppImage
|
mv duckstation-sdl-x64.AppImage duckstation-sdl-x64-release.AppImage
|
||||||
|
|
||||||
cp ../appimage/duckstation-icon.png ../appimage/duckstation-qt.png
|
7za a -r duckstation-linux-x64-release.7z duckstation-*.AppImage
|
||||||
|
|
||||||
cp ../appimage/duckstation-icon.png ../appimage/duckstation-sdl.png
|
appveyor PushArtifact duckstation-linux-x64-release.7z
|
||||||
|
|
||||||
./linuxdeploy-x86_64.AppImage --appdir=./AppDir-duckstation-qt --executable=./src/duckstation-qt/duckstation-qt --create-desktop-file --icon-file=../appimage/duckstation-qt.png --plugin=qt --output=appimage
|
else
|
||||||
|
|
||||||
./linuxdeploy-x86_64.AppImage --appdir=./AppDir-duckstation-sdl --executable=./src/duckstation-sdl/duckstation-sdl --create-desktop-file --icon-file=../appimage/duckstation-sdl.png --output=appimage
|
echo "Failed to create AppImages, no AppImage artifact will be pushed"
|
||||||
|
|
||||||
7za a -r duckstation-linux-x64-release.7z duckstation-*.AppImage
|
fi
|
||||||
|
|
||||||
appveyor PushArtifact duckstation-linux-x64-release.7z
|
|
||||||
|
|
||||||
elif [ "$APPVEYOR_BUILD_WORKER_IMAGE" == "macOS" ]; then
|
elif [ "$APPVEYOR_BUILD_WORKER_IMAGE" == "macOS" ]; then
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue