-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
language: cpp | ||
compiler: gcc | ||
os: linux | ||
dist: trusty | ||
|
||
before_install: | ||
- sudo add-apt-repository ppa:bitcoin/bitcoin -y | ||
- sudo apt-get -qq update | ||
- sudo apt-get install -y qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libqt5webkit5-dev | ||
- sudo apt-get install libdb4.8-dev libdb4.8++-dev -y | ||
|
||
script: | ||
- cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd - | ||
|
||
# - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir" | ||
- mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/ | ||
- mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/ | ||
- mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/ | ||
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" | ||
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage | ||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH | ||
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file | ||
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs | ||
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage | ||
|
||
after_success: | ||
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq | ||
- # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage | ||
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh | ||
- bash upload.sh Okcash*.AppImage* | ||
|
||
branches: | ||
except: | ||
- # Do not build tags that we create when we upload to GitHub Releases | ||
- /^(?i:continuous)/ |
This file was deleted.
Oops, something went wrong.