Try fixes

This commit is contained in:
dcvz 2024-06-10 00:53:47 +02:00
parent c8cb456b7d
commit 156d72b8fe
2 changed files with 13 additions and 4 deletions

View file

@ -14,6 +14,8 @@ fi
curl -sSfLO "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-$LINUX_DEPLOY_ARCH.AppImage"
curl -sSfLO "https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/raw/master/linuxdeploy-plugin-gtk.sh"
curl -sSfLO "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$LINUX_DEPLOY_ARCH.AppImage"
chmod a+x linuxdeploy*
mkdir -p AppDir/usr/bin

View file

@ -30,7 +30,7 @@ jobs:
- name: Install Linux Dependencies
run: |
apt-get update
apt-get install -y libcanberra-gtk-module libcanberra-gtk3-module
apt-get install -y libcanberra-gtk-module libcanberra-gtk3-module libgbm-dev
- name: Prepare Build
run: |-
git clone ${{ secrets.ZRE_REPO_WITH_PAT }}
@ -75,8 +75,15 @@ jobs:
with:
name: Zelda64Recompiled-${{ runner.os }}-X64-${{ matrix.type }}
path: Zelda64Recompiled.tar.gz
- name: Prepare AppImage
run: ./.github/linux/appimage.sh
- name: Build AppImage
run: |-
./.github/linux/appimage.sh
- name: Adjust AppImage
run: |
./Zelda64Recompiled-x86_64.AppImage --appimage-extract
rm -rf squashfs-root/usr/lib/libgmodule*
appimagetool-x86_64.AppImage -v squashfs-root
rm -rf squashfs-root/
- name: Zelda64Recomp AppImage
uses: actions/upload-artifact@v3
with:
@ -117,7 +124,7 @@ jobs:
./configure
make -j 10
sudo make install
sudo cp -av /usr/local/lib/libSDL* /lib/x86_64-linux-gnu/
sudo cp -av /usr/local/lib/libSDL* /lib/aarch64-linux-gnu/
echo ::endgroup::
- name: Prepare Build
run: |-