From 99066a7c2b5bff3f5ad426992194b61d629f508a Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Mon, 11 Nov 2024 10:58:15 -0500 Subject: [PATCH] Use go-appimage instead Signed-off-by: Geoff Hutchison --- .github/workflows/build_cmake.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 714a44b637..887370e9eb 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -82,10 +82,12 @@ jobs: - name: Install Dependencies (Linux) if: runner.os == 'Linux' run: | + sudo add-apt-repository -y universe sudo apt-get -qq update sudo apt-get -qq install ninja-build libeigen3-dev libboost-all-dev libglew-dev libxml2-dev sudo apt-get -qq install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5x11extras5-dev libqt5svg5-dev sudo apt-get -qq install libgcc-10-dev libgcc-9-dev + sudo apt install libfuse2 - name: Install Dependencies (macOS) if: runner.os == 'macOS' run: | @@ -293,17 +295,14 @@ jobs: mkdir appdir mv prefix appdir/usr - wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" - wget -c -nv "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" - wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" - chmod a+x *.AppImage - - ./linuxdeploy-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -extra-plugins=iconengines --plugin qt + wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2) + chmod +x appimagetool-*.AppImage + ./appimagetool-*.AppImage deploy appdir/usr/share/applications/*.desktop # Bundle everything expect what comes with the base system # add the custom AppRun rm appdir/AppRun cp ../avogadrolibs/avogadrolibs/scripts/AppImage.sh appdir/AppRun chmod a+x appdir/AppRun - ./appimagetool-x86_64.AppImage appdir + ./appimagetool-*.AppImage ./appdir mv Avogadro2*.AppImage avogadroapp # for upload working-directory: ${{ runner.workspace }}/build