Comment AppImage builds

It randomly started erroring in GitHub actions with exit code 8 but only sometimes, and I don't have the patience to debug it. I don't even use linux lol
This commit is contained in:
GreemDev
2025-07-28 19:33:59 -05:00
parent f3a2f59683
commit 1e5b3e715a
2 changed files with 82 additions and 78 deletions

View File

@ -106,45 +106,47 @@ jobs:
gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz" gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz"
shell: bash shell: bash
- name: Build AppImage (Linux) # If anyone wants to look into why appimagetool randomly errors with exit code 8, that would be cool
if: matrix.platform.os == 'ubuntu-latest'
run: |
BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
PLATFORM_NAME="${{ matrix.platform.name }}"
sudo apt install -y zsync desktop-file-utils appstream # - name: Build AppImage (Linux)
# if: matrix.platform.os == 'ubuntu-latest'
mkdir -p tools # run: |
export PATH="$PATH:$(readlink -f tools)" # BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
# PLATFORM_NAME="${{ matrix.platform.name }}"
# Setup appimagetool #
wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" # sudo apt install -y zsync desktop-file-utils appstream
chmod +x tools/appimagetool #
chmod +x distribution/linux/appimage/build-appimage.sh # mkdir -p tools
# export PATH="$PATH:$(readlink -f tools)"
# Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name) #
if [ "$PLATFORM_NAME" = "linux-x64" ]; then # # Setup appimagetool
ARCH_NAME=x64 # wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
export ARCH=x86_64 # chmod +x tools/appimagetool
elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then # chmod +x distribution/linux/appimage/build-appimage.sh
ARCH_NAME=arm64 #
export ARCH=aarch64 # # Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
else # if [ "$PLATFORM_NAME" = "linux-x64" ]; then
echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME"" # ARCH_NAME=x64
exit 1 # export ARCH=x86_64
fi # elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
# ARCH_NAME=arm64
export UFLAG="gh-releases-zsync|${{ secrets.RC_OWNER }}${{ secrets.RC_CANARY_NAME }}|latest|*-$ARCH_NAME.AppImage.zsync" # export ARCH=aarch64
BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh # else
# echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
pushd publish_appimage # exit 1
mv Ryujinx.AppImage ../release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage # fi
mv Ryujinx.AppImage.zsync ../release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync #
popd # export UFLAG="gh-releases-zsync|${{ secrets.RC_OWNER }}${{ secrets.RC_CANARY_NAME }}|latest|*-$ARCH_NAME.AppImage.zsync"
# BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage" #
gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync" # pushd publish_appimage
shell: bash # mv Ryujinx.AppImage ../release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage
# mv Ryujinx.AppImage.zsync ../release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
# popd
#
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage"
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync"
# shell: bash
macos_release: macos_release:
name: Release MacOS universal name: Release MacOS universal

View File

@ -97,45 +97,47 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build AppImage (Linux) # If anyone wants to look into why appimagetool randomly errors with exit code 8, that would be cool
if: matrix.platform.os == 'ubuntu-latest'
run: |
BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
PLATFORM_NAME="${{ matrix.platform.name }}"
sudo apt install -y zsync desktop-file-utils appstream # - name: Build AppImage (Linux)
# if: matrix.platform.os == 'ubuntu-latest'
mkdir -p tools # run: |
export PATH="$PATH:$(readlink -f tools)" # BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
# PLATFORM_NAME="${{ matrix.platform.name }}"
# Setup appimagetool #
wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" # sudo apt install -y zsync desktop-file-utils appstream
chmod +x tools/appimagetool #
chmod +x distribution/linux/appimage/build-appimage.sh # mkdir -p tools
# export PATH="$PATH:$(readlink -f tools)"
# Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name) #
if [ "$PLATFORM_NAME" = "linux-x64" ]; then # # Setup appimagetool
ARCH_NAME=x64 # wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
export ARCH=x86_64 # chmod +x tools/appimagetool
elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then # chmod +x distribution/linux/appimage/build-appimage.sh
ARCH_NAME=arm64 #
export ARCH=aarch64 # # Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
else # if [ "$PLATFORM_NAME" = "linux-x64" ]; then
echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME"" # ARCH_NAME=x64
exit 1 # export ARCH=x86_64
fi # elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
# ARCH_NAME=arm64
export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync" # export ARCH=aarch64
BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh # else
# echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
pushd publish_appimage # exit 1
mv Ryujinx.AppImage ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage # fi
mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync #
popd # export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
# BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage" #
gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync" # pushd publish_appimage
shell: bash # mv Ryujinx.AppImage ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage
# mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
# popd
#
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage"
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync"
# shell: bash
macos_release: macos_release:
name: Release MacOS universal name: Release MacOS universal