Skip to content

Commit

Permalink
build, add linux appimage
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Dec 17, 2023
1 parent 82f97f1 commit e302070
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,25 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y libfuse2 fuse3
sudo apt-get install -y libsdl1.2-dev libasound2-dev libpng-dev libz-dev
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231206-1/linuxdeploy-x86_64.AppImage
wget https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/download/1-alpha-20230713-1/linuxdeploy-plugin-appimage-x86_64.AppImage
chmod 755 linuxdeploy-x86_64.AppImage linuxdeploy-plugin-appimage-x86_64.AppImage
- name: configure
run: DUMP_CONFIG_LOG=1 ./configure
- name: make
run: make -j2
- name:
run: |
./linuxdeploy-x86_64.AppImage --appdir=app --executable=PicoDrive --desktop-file=platform/linux/data/PicoDrive.desktop --icon-file=platform/opendingux/data/megadrive.png
LDAI_OUTPUT=PicoDrive.AppImage ./linuxdeploy-plugin-appimage-x86_64.AppImage --appdir=app
- name: artifacts
uses: actions/upload-artifact@v3
with:
name: Linux AppImage
path: PicoDrive.AppImage


build-libretro:
runs-on: ubuntu-latest
Expand Down
7 changes: 7 additions & 0 deletions platform/linux/data/PicoDrive.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Name=PicoDrive
Exec=PicoDrive %f
Icon=megadrive
Type=Application
Categories=Game;

0 comments on commit e302070

Please sign in to comment.