mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-24 02:00:11 +01:00
Disable appimage build (for now)
This commit is contained in:
parent
dfb4854d19
commit
033ea86c1b
60
.github/workflows/build.yml
vendored
60
.github/workflows/build.yml
vendored
@ -74,36 +74,36 @@ jobs:
|
|||||||
chmod +x ./publish_sdl2_headless/Ryujinx.Headless.SDL2 ./publish_sdl2_headless/Ryujinx.sh
|
chmod +x ./publish_sdl2_headless/Ryujinx.Headless.SDL2 ./publish_sdl2_headless/Ryujinx.sh
|
||||||
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
|
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
|
||||||
|
|
||||||
- name: Build AppImage
|
#- name: Build AppImage
|
||||||
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
|
# if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
|
||||||
run: |
|
# run: |
|
||||||
PLATFORM_NAME="${{ matrix.platform.name }}"
|
# PLATFORM_NAME="${{ matrix.platform.name }}"
|
||||||
|
|
||||||
sudo apt install -y zsync desktop-file-utils appstream
|
# sudo apt install -y zsync desktop-file-utils appstream
|
||||||
|
|
||||||
mkdir -p tools
|
# mkdir -p tools
|
||||||
export PATH="$PATH:$(readlink -f tools)"
|
# export PATH="$PATH:$(readlink -f tools)"
|
||||||
|
|
||||||
# Setup appimagetool
|
# # Setup appimagetool
|
||||||
wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
# wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||||
chmod +x tools/appimagetool
|
# chmod +x tools/appimagetool
|
||||||
chmod +x distribution/linux/appimage/build-appimage.sh
|
# chmod +x distribution/linux/appimage/build-appimage.sh
|
||||||
|
|
||||||
# Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
|
# Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
|
||||||
if [ "$PLATFORM_NAME" = "linux-x64" ]; then
|
# if [ "$PLATFORM_NAME" = "linux-x64" ]; then
|
||||||
ARCH_NAME=x64
|
# ARCH_NAME=x64
|
||||||
export ARCH=x86_64
|
# export ARCH=x86_64
|
||||||
elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
|
# elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
|
||||||
ARCH_NAME=arm64
|
# ARCH_NAME=arm64
|
||||||
export ARCH=aarch64
|
# export ARCH=aarch64
|
||||||
else
|
# else
|
||||||
echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
|
# echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
|
# 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
|
# BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
|
||||||
shell: bash
|
# shell: bash
|
||||||
|
|
||||||
- name: Upload Ryujinx artifact
|
- name: Upload Ryujinx artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -112,12 +112,12 @@ jobs:
|
|||||||
path: publish
|
path: publish
|
||||||
if: github.event_name == 'pull_request' && matrix.platform.os != 'macos-13'
|
if: github.event_name == 'pull_request' && matrix.platform.os != 'macos-13'
|
||||||
|
|
||||||
- name: Upload Ryujinx (AppImage) artifact
|
#- name: Upload Ryujinx (AppImage) artifact
|
||||||
uses: actions/upload-artifact@v4
|
# uses: actions/upload-artifact@v4
|
||||||
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
|
# if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
|
||||||
with:
|
# with:
|
||||||
name: ryujinx-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-${{ matrix.platform.zip_os_name }}-AppImage
|
# name: ryujinx-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-${{ matrix.platform.zip_os_name }}-AppImage
|
||||||
path: publish_appimage
|
# path: publish_appimage
|
||||||
|
|
||||||
- name: Upload Ryujinx.Headless.SDL2 artifact
|
- name: Upload Ryujinx.Headless.SDL2 artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
59
.github/workflows/release.yml
vendored
59
.github/workflows/release.yml
vendored
@ -130,49 +130,50 @@ jobs:
|
|||||||
popd
|
popd
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build AppImage (Linux)
|
#- name: Build AppImage (Linux)
|
||||||
if: matrix.platform.os == 'ubuntu-latest'
|
# if: matrix.platform.os == 'ubuntu-latest'
|
||||||
run: |
|
# run: |
|
||||||
BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
|
# BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
|
||||||
PLATFORM_NAME="${{ matrix.platform.name }}"
|
# PLATFORM_NAME="${{ matrix.platform.name }}"
|
||||||
|
|
||||||
sudo apt install -y zsync desktop-file-utils appstream
|
# sudo apt install -y zsync desktop-file-utils appstream
|
||||||
|
|
||||||
mkdir -p tools
|
# mkdir -p tools
|
||||||
export PATH="$PATH:$(readlink -f tools)"
|
# export PATH="$PATH:$(readlink -f tools)"
|
||||||
|
|
||||||
# Setup appimagetool
|
# Setup appimagetool
|
||||||
wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
# wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||||
chmod +x tools/appimagetool
|
# chmod +x tools/appimagetool
|
||||||
chmod +x distribution/linux/appimage/build-appimage.sh
|
# chmod +x distribution/linux/appimage/build-appimage.sh
|
||||||
|
|
||||||
# Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
|
# Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
|
||||||
if [ "$PLATFORM_NAME" = "linux-x64" ]; then
|
# if [ "$PLATFORM_NAME" = "linux-x64" ]; then
|
||||||
ARCH_NAME=x64
|
# ARCH_NAME=x64
|
||||||
export ARCH=x86_64
|
# export ARCH=x86_64
|
||||||
elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
|
# elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
|
||||||
ARCH_NAME=arm64
|
# ARCH_NAME=arm64
|
||||||
export ARCH=aarch64
|
# export ARCH=aarch64
|
||||||
else
|
# else
|
||||||
echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
|
# echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
|
# export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
|
||||||
BUILDDIR=publish_ava OUTDIR=publish_ava_appimage distribution/linux/appimage/build-appimage.sh
|
# BUILDDIR=publish_ava OUTDIR=publish_ava_appimage distribution/linux/appimage/build-appimage.sh
|
||||||
|
|
||||||
# Add to release output
|
# Add to release output
|
||||||
pushd publish_ava_appimage
|
# pushd publish_ava_appimage
|
||||||
mv Ryujinx.AppImage ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage
|
# mv Ryujinx.AppImage ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage
|
||||||
mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
|
# mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
|
||||||
popd
|
# popd
|
||||||
shell: bash
|
# shell: bash
|
||||||
|
|
||||||
- name: Pushing new release
|
- name: Pushing new release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.version_info.outputs.build_version }}
|
name: ${{ steps.version_info.outputs.build_version }}
|
||||||
artifacts: "release_output/*.tar.gz,release_output/*.zip/*AppImage*"
|
artifacts: "release_output/*.tar.gz,release_output/*.zip"
|
||||||
|
#artifacts: "release_output/*.tar.gz,release_output/*.zip/*AppImage*"
|
||||||
tag: ${{ steps.version_info.outputs.build_version }}
|
tag: ${{ steps.version_info.outputs.build_version }}
|
||||||
body: "**Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.version_info.outputs.prev_build_version }}...${{ steps.version_info.outputs.build_version }}"
|
body: "**Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.version_info.outputs.prev_build_version }}...${{ steps.version_info.outputs.build_version }}"
|
||||||
omitBodyDuringUpdate: true
|
omitBodyDuringUpdate: true
|
||||||
|
Loading…
Reference in New Issue
Block a user