File tree 3 files changed +38
-38
lines changed
3 files changed +38
-38
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,6 @@ before_install:
10
10
- sudo apt-get install libdb4.8-dev libdb4.8++-dev -y
11
11
12
12
script :
13
- - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd -
14
-
15
- # - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir"
16
- - mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/
17
- - mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/
18
- - mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/
19
- - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
20
- - chmod a+x linuxdeployqt-continuous-x86_64.AppImage
21
- - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
22
- - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
23
- - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
24
- - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
25
-
26
- after_success :
27
- - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
28
- - # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage
29
- - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
30
- - bash upload.sh Okcash*.AppImage*
31
-
32
- branches :
33
- except :
34
- - # Do not build tags that we create when we upload to GitHub Releases
35
- - /^(?i:continuous)/
13
+ - qmake PREFIX=/usr
14
+ - make -j$(nproc)
15
+ - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd -
Original file line number Diff line number Diff line change
1
+ language : cpp
2
+ compiler : gcc
3
+ os : linux
4
+ dist : trusty
5
+
6
+ before_install :
7
+ - sudo add-apt-repository ppa:bitcoin/bitcoin -y
8
+ - sudo apt-get -qq update
9
+ - 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
10
+ - sudo apt-get install libdb4.8-dev libdb4.8++-dev -y
11
+
12
+ script :
13
+ - cd src ; RELEASE=1 STATIC=TRUE make -j$(nproc) -f makefile.unix ; strip okcashd ; cd -
14
+
15
+ # - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ # FIXME; workaround are the following lines starting with "mkdir"
16
+ - mkdir -p appdir/usr/bin ; cp src/okcashd ./appdir/usr/bin/
17
+ - mkdir -p appdir/usr/share/applications ; cp doc/linux-desktop/okcashd.desktop ./appdir/usr/share/applications/
18
+ - mkdir -p appdir/usr/share/icons/hicolor/256x256/apps ; cp doc/linux-desktop/okcashd.png ./appdir/usr/share/icons/hicolor/256x256/apps/
19
+ - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
20
+ - chmod a+x linuxdeployqt-continuous-x86_64.AppImage
21
+ - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
22
+ - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
23
+ - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
24
+ - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
25
+
26
+ after_success :
27
+ - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
28
+ - # curl --upload-file Okcash*.AppImage https://transfer.sh/okcash-git.$(git rev-parse --short HEAD)-x86_64.AppImage
29
+ - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
30
+ - bash upload.sh Okcash*.AppImage*
31
+
32
+ branches :
33
+ except :
34
+ - # Do not build tags that we create when we upload to GitHub Releases
35
+ - /^(?i:continuous)/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments