Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (37 sloc) 1.09 KB
anguage: cpp
compiler: gcc
dist: xenial
before_install:
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# Qt 5.9
- sudo add-apt-repository ppa:beineri/opt-qt59-xenial -y
- sudo apt-get update -qq
install:
# System Dependencies
- sudo apt-get install build-essential libgl1-mesa-dev
# C++14
- sudo apt-get install -qq gcc-7 g++-7
# Qt 5.9
- sudo apt-get install -qq qt59base # qt59webchannel qt59webengine
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
- source /opt/qt*/bin/qt*-env.sh
script:
# Build
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j4
# Package
- python3 ../ci/package.py
# Generate AppImage
- unset QTDIR; unset QT_PLUGIN_PATH; unset LD_LIBRARY_PATH
- qmake -v
- python3 ../ci/prepare_appimage.py
- chmod +x ../ci/build_appimage.sh
- ../ci/build_appimage.sh
# Deploy
- python3 ../ci/deploy.py
notifications:
email: false
You can’t perform that action at this time.