mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 11:31:00 -06:00
Create AppImage
This commit is contained in:
19
.travis.yml
19
.travis.yml
@@ -40,13 +40,28 @@ script:
|
||||
- mkdir build
|
||||
- mkdir build_cipher
|
||||
- cd build
|
||||
- cmake -DENABLE_TESTING=ON ..
|
||||
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_TESTING=ON ..
|
||||
- make
|
||||
- ctest -V
|
||||
- cd ../build_cipher
|
||||
- cmake -DENABLE_TESTING=ON -Dsqlcipher=1 ..
|
||||
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_TESTING=ON -Dsqlcipher=1 ..
|
||||
- make
|
||||
- ctest -V
|
||||
- # AppImage generation
|
||||
- cd ../build
|
||||
- sudo apt-get -y install checkinstall
|
||||
- sudo checkinstall --pkgname=app --pkgversion="1" --pkgrelease="1" --backup=no --fstrans=no --default --deldoc
|
||||
- mkdir appdir ; cd appdir
|
||||
- dpkg -x ../app_1-1_amd64.deb . ; find .
|
||||
- cp ./usr/share/applications/sqlitebrowser.desktop .
|
||||
- cp ./usr/share/icons/hicolor/256x256/apps/sqlitebrowser.png .
|
||||
- cd ..
|
||||
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/3/linuxdeployqt-3-x86_64.AppImage"
|
||||
- chmod a+x linuxdeployqt*.AppImage
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- ./linuxdeployqt*.AppImage ./appdir/usr/bin/sqlitebrowser -bundle-non-qt-libs
|
||||
- ./linuxdeployqt*.AppImage ./appdir/usr/bin/sqlitebrowser -appimage
|
||||
- curl --upload-file ./DB*.AppImage https://transfer.sh/sqlitebrowser-git.$(git rev-parse --short HEAD)-x86_64.AppImage
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
||||
Reference in New Issue
Block a user