mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
CI: Use AppImage generation script for Linux build
This commit is contained in:
parent
a2a9bd16fa
commit
ccddb4456b
22
appveyor.yml
22
appveyor.yml
|
@ -54,26 +54,24 @@ build_script:
|
|||
|
||||
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
|
||||
|
||||
cp ../appimage/duckstation-icon.png ../appimage/duckstation-qt.png
|
||||
|
||||
cp ../appimage/duckstation-icon.png ../appimage/duckstation-sdl.png
|
||||
|
||||
./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
|
||||
|
||||
./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
|
||||
mv duckstation-sdl-x64.AppImage duckstation-sdl-x64-release.AppImage
|
||||
|
||||
7za a -r duckstation-linux-x64-release.7z duckstation-*.AppImage
|
||||
|
||||
appveyor PushArtifact duckstation-linux-x64-release.7z
|
||||
|
||||
else
|
||||
|
||||
echo "Failed to create AppImages, no AppImage artifact will be pushed"
|
||||
|
||||
fi
|
||||
|
||||
elif [ "$APPVEYOR_BUILD_WORKER_IMAGE" == "macOS" ]; then
|
||||
|
||||
mkdir build-release
|
||||
|
|
Loading…
Reference in a new issue