Merge pull request #759 from ggrtk/linux-packaging

CI: Re-enable Linux packaging with old linuxdeploy version
This commit is contained in:
Connor McLaughlin 2020-08-16 00:19:53 +10:00 committed by GitHub
commit a8699d9908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 73 deletions

View file

@ -90,51 +90,51 @@ jobs:
path: "build/duckstation_libretro.dll.zip" path: "build/duckstation_libretro.dll.zip"
# linux-build: linux-build:
# runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
# steps: steps:
# - uses: actions/checkout@v2.3.1 - uses: actions/checkout@v2.3.1
# with: with:
# fetch-depth: 0 fetch-depth: 0
#
# - name: Install packages - name: Install packages
# shell: bash shell: bash
# run: | run: |
# sudo apt-get update sudo apt-get update
# sudo apt-get -y install cmake ninja-build ccache libsdl2-dev libgtk2.0-dev qtbase5-dev qtbase5-dev-tools qtbase5-private-dev qt5-default qttools5-dev sudo apt-get -y install cmake ninja-build ccache libsdl2-dev libgtk2.0-dev qtbase5-dev qtbase5-dev-tools qtbase5-private-dev qt5-default qttools5-dev
#
# - name: Compile build - name: Compile build
# shell: bash shell: bash
# run: | run: |
# mkdir build mkdir build
# cd build cd build
# cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SDL_FRONTEND=ON -DBUILD_QT_FRONTEND=ON -DUSE_SDL2=ON -G Ninja .. cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SDL_FRONTEND=ON -DBUILD_QT_FRONTEND=ON -DUSE_SDL2=ON -G Ninja ..
# ninja ninja
# ../appimage/generate-appimages.sh $(pwd) ../appimage/generate-appimages.sh $(pwd)
#
# - name: Upload SDL AppImage - name: Upload SDL AppImage
# uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
# with: with:
# name: "linux-x64-appimage-sdl" name: "linux-x64-appimage-sdl"
# path: "build/duckstation-sdl-x64.AppImage" path: "build/duckstation-sdl-x64.AppImage"
#
# - name: Upload SDL AppImage zsync - name: Upload SDL AppImage zsync
# uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
# with: with:
# name: "linux-x64-appimage-sdl-zsync" name: "linux-x64-appimage-sdl-zsync"
# path: "build/duckstation-sdl-x64.AppImage.zsync" path: "build/duckstation-sdl-x64.AppImage.zsync"
#
# - name: Upload Qt AppImage - name: Upload Qt AppImage
# uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
# with: with:
# name: "linux-x64-appimage-qt" name: "linux-x64-appimage-qt"
# path: "build/duckstation-qt-x64.AppImage" path: "build/duckstation-qt-x64.AppImage"
#
# - name: Upload Qt AppImage zsync - name: Upload Qt AppImage zsync
# uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
# with: with:
# name: "linux-x64-appimage-qt-zsync" name: "linux-x64-appimage-qt-zsync"
# path: "build/duckstation-qt-x64.AppImage.zsync" path: "build/duckstation-qt-x64.AppImage.zsync"
linux-libretro-build: linux-libretro-build:
@ -214,8 +214,7 @@ jobs:
create-release: create-release:
#needs: [windows-build, windows-libretro-build, linux-build, linux-libretro-build, android-build] needs: [windows-build, windows-libretro-build, linux-build, linux-libretro-build, android-build]
needs: [windows-build, windows-libretro-build, linux-libretro-build, android-build]
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
steps: steps:
@ -229,25 +228,25 @@ jobs:
with: with:
name: "windows-libretro-x64" name: "windows-libretro-x64"
# - name: Download SDL AppImage Artifact - name: Download SDL AppImage Artifact
# uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
# with: with:
# name: "linux-x64-appimage-sdl" name: "linux-x64-appimage-sdl"
#
# - name: Download SDL AppImage zsync Artifact - name: Download SDL AppImage zsync Artifact
# uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
# with: with:
# name: "linux-x64-appimage-sdl-zsync" name: "linux-x64-appimage-sdl-zsync"
#
# - name: Download Qt AppImage Artifact - name: Download Qt AppImage Artifact
# uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
# with: with:
# name: "linux-x64-appimage-qt" name: "linux-x64-appimage-qt"
#
# - name: Download Qt AppImage zsync Artifact - name: Download Qt AppImage zsync Artifact
# uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
# with: with:
# name: "linux-x64-appimage-qt-zsync" name: "linux-x64-appimage-qt-zsync"
- name: Download Linux libretro core - name: Download Linux libretro core
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
@ -268,11 +267,11 @@ jobs:
files: | files: |
windows-x64/duckstation-windows-x64-release.zip windows-x64/duckstation-windows-x64-release.zip
windows-libretro-x64/duckstation_libretro.dll.zip windows-libretro-x64/duckstation_libretro.dll.zip
linux-x64-appimage-sdl/duckstation-sdl-x64.AppImage
linux-x64-appimage-sdl-zsync/duckstation-sdl-x64.AppImage.zsync
linux-x64-appimage-qt/duckstation-qt-x64.AppImage
linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync
linux-libretro/duckstation_libretro.so.zip linux-libretro/duckstation_libretro.so.zip
linux-libretro/duckstation_libretro_android_aarch64.so.zip linux-libretro/duckstation_libretro_android_aarch64.so.zip
android/duckstation-android-aarch64.apk android/duckstation-android-aarch64.apk
# linux-x64-appimage-sdl/duckstation-sdl-x64.AppImage
# linux-x64-appimage-sdl-zsync/duckstation-sdl-x64.AppImage.zsync
# linux-x64-appimage-qt/duckstation-qt-x64.AppImage
# linux-x64-appimage-qt-zsync/duckstation-qt-x64.AppImage.zsync

View file

@ -3,8 +3,6 @@
**Latest Windows, Linux (AppImage), and Libretro Builds:** https://github.com/stenzek/duckstation/releases/tag/latest **Latest Windows, Linux (AppImage), and Libretro Builds:** https://github.com/stenzek/duckstation/releases/tag/latest
**NOTE:** Linux builds are temporarily disabled due to an issue with AppImage creation. Once this is sorted out they will be re-enabled again. You can still build from source in the meantime.
**Game Compatibility List:** https://docs.google.com/spreadsheets/d/1H66MxViRjjE5f8hOl5RQmF5woS1murio2dsLn14kEqo/edit?usp=sharing **Game Compatibility List:** https://docs.google.com/spreadsheets/d/1H66MxViRjjE5f8hOl5RQmF5woS1murio2dsLn14kEqo/edit?usp=sharing
DuckStation is an simulator/emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability. Accuracy is not the main focus of the emulator, but the goal is to be as accurate as possible while maintaining performance suitable for low-end devices. "Hack" options are discouraged, the default configuration should support all playable games with only some of the enhancements having compatibility issues. DuckStation is an simulator/emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability. Accuracy is not the main focus of the emulator, but the goal is to be as accurate as possible while maintaining performance suitable for low-end devices. "Hack" options are discouraged, the default configuration should support all playable games with only some of the enhancements having compatibility issues.

View file

@ -15,7 +15,7 @@ fi
# Acquire linuxdeploy and linuxdeploy-plugin-qt # Acquire linuxdeploy and linuxdeploy-plugin-qt
wget --timestamping --directory-prefix=${BUILD_DIR} \ wget --timestamping --directory-prefix=${BUILD_DIR} \
https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage https://artifacts.assassinate-you.net/artifactory/list/linuxdeploy/travis-456/linuxdeploy-x86_64.AppImage
chmod a+x ${BUILD_DIR}/linuxdeploy-x86_64.AppImage chmod a+x ${BUILD_DIR}/linuxdeploy-x86_64.AppImage
wget --timestamping --directory-prefix=${BUILD_DIR} \ wget --timestamping --directory-prefix=${BUILD_DIR} \