Skip to content

Commit

Permalink
[ci] global: fix AppImage libgio-2.0.so.0 error
Browse files Browse the repository at this point in the history
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: project-slippi/Ishiiruka#323.
  • Loading branch information
bgallois committed Jan 9, 2022
1 parent adf83f1 commit cdcd2a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/build_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cdcd2a6

Please sign in to comment.