-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
29 lines (25 loc) · 1.45 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: cpp
compiler: gcc
sudo: require
dist: focal
install:
- sudo apt-get -y install pkg-config libglib2.0-dev libgconf2-dev libgtk-3-dev libwnck-3-dev libwxgtk3.0-gtk3-dev libxcb1-dev libxcb-ewmh-dev xcb-proto librsvg2-dev
script:
- make -j$(nproc)
- make install DESTDIR=$(readlink -f appdir) ; find appdir/
- mkdir -p appdir/usr/share/applications/ ; cp simdock.desktop appdir/usr/share/applications/
- mkdir -p appdir/usr/share/icons/hicolor/256x256/apps/ ; cp gfx/simdock.png appdir/usr/share/icons/hicolor/256x256/apps/simdock.png
- mkdir -p appdir/usr/share/icons/hicolor/scalable/apps/ ; cp gfx/simdock.svg appdir/usr/share/icons/hicolor/scalable/apps/simdock.svg
- 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 -appimage
after_success:
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Simdock*.AppImage*
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/