Skip to content

Commit

Permalink
github: fix build-appimage
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wheeler committed Aug 14, 2024
1 parent b7c33c1 commit be8fde4
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/build-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,30 +50,7 @@ jobs:
yum install -y epel-release
yum groupinstall -y 'Development Tools'
yum install -y gtk3-devel glib2-devel gettext-devel desktop-file-utils \
patchelf wget libtool autoconf automake pkgconfig fuse
patchelf wget libtool autoconf automake pkgconfig fuse fuse-libs
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64
./autogen.sh
./configure
make
mkdir -p AppDir/usr/bin
cp src/xnec2c AppDir/usr/bin/
cp resources/xnec2c.svg AppDir/usr/share/icons/hicolor/scalable/apps/
cp files/xnec2c.desktop AppDir/usr/share/applications/
# Build the AppImage with embedded runtime and include version in filename
./appimagetool-x86_64.AppImage AppDir --runtime-arch=x86_64 -n --embed-runtime
mv xnec2c*.AppImage xnec2c-${VERSION}-${{ github.sha }}.AppImage
chmod +x xnec2c-${VERSION}-${{ github.sha }}.AppImage
./xnec2c-${VERSION}-${{ github.sha }}.AppImage --appimage-extract-and-run -h
"
- name: Upload the AppImage
uses: actions/upload-artifact@v2
with:
name: xnec2c.AppImage
path: xnec2c-${VERSION}-${{ github.sha }}.AppImage

0 comments on commit be8fde4

Please sign in to comment.