From cdcd2a6ddf9fc8aabbe3f823cdad6ec43adafb8f Mon Sep 17 00:00:00 2001 From: bgallois Date: Sun, 9 Jan 2022 14:13:39 +0100 Subject: [PATCH] [ci] global: fix AppImage libgio-2.0.so.0 error Fixed symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_module_open_full and packaging to avoid unecessary files in the AppImage. Workaround reference: https://github.com/project-slippi/Ishiiruka/issues/323. --- .github/workflows/build.yml | 9 ++++----- .github/workflows/build_cli.yml | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e36ecbf..19baa49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,19 +33,18 @@ jobs: make clean - name: appimage run: | - cd build wget -O deploy.AppImage https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage chmod +x deploy.AppImage - cp ../sh.fasttrack.fasttrack.desktop . - cp ../src/assets/fasttrack.png . + cp sh.fasttrack.fasttrack.desktop build/ + cp src/assets/fasttrack.png build/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{ github.workspace }}/Qt/6.2.1/gcc_64/lib/ - ./deploy.AppImage fasttrack -appimage -no-translations -bundle-non-qt-libs -unsupported-allow-new-glibc -qmake=${{ github.workspace }}/Qt/6.2.1/gcc_64/bin/qmake6 -extra-plugins=platforms/,sqldrivers/ + ./deploy.AppImage build/fasttrack -appimage -no-translations -bundle-non-qt-libs -unsupported-allow-new-glibc -qmake=${{ github.workspace }}/Qt/6.2.1/gcc_64/bin/qmake6 -extra-plugins=platforms/,sqldrivers/ -exclude-libs=libgmodule-2.0.so mv FastTrack*.AppImage FastTrack-x86_64.AppImage - name: Linux artefact uses: actions/upload-artifact@v1 with: name: FastTrackLinux - path: ./build/FastTrack-x86_64.AppImage + path: ./FastTrack-x86_64.AppImage job_2: runs-on: windows-latest steps: diff --git a/.github/workflows/build_cli.yml b/.github/workflows/build_cli.yml index 66cd902..d9df121 100644 --- a/.github/workflows/build_cli.yml +++ b/.github/workflows/build_cli.yml @@ -33,19 +33,18 @@ jobs: make clean - name: appimage run: | - cd build_cli wget -O deploy.AppImage https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage chmod +x deploy.AppImage - cp ../sh.fasttrack.fasttrackcli.desktop . - cp ../src/assets/fasttrack.png . + cp sh.fasttrack.fasttrackcli.desktop build_cli/ + cp src/assets/fasttrack.png build_cli/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{ github.workspace }}/Qt/6.2.1/gcc_64/lib/ - ./deploy.AppImage fasttrack-cli -appimage -no-translations -bundle-non-qt-libs -unsupported-allow-new-glibc -qmake=${{ github.workspace }}/Qt/6.2.1/gcc_64/bin/qmake6 -extra-plugins=platforms/,sqldrivers/ + ./deploy.AppImage build_cli/fasttrack-cli -appimage -no-translations -bundle-non-qt-libs -unsupported-allow-new-glibc -qmake=${{ github.workspace }}/Qt/6.2.1/gcc_64/bin/qmake6 -extra-plugins=platforms/,sqldrivers/ -exclude-libs=libgmodule-2.0.so mv FastTrack*.AppImage FastTrack-cli-x86_64.AppImage - name: Linux artefact uses: actions/upload-artifact@v1 with: name: FastTrackLinux - path: ./build_cli/FastTrack-cli-x86_64.AppImage + path: ./FastTrack-cli-x86_64.AppImage job_2: runs-on: macos-latest steps: