Reduced cmake dependency to 3.6, fixed drone file

develop
tastytea 2018-08-30 18:33:07 +02:00
parent 19e6c28d41
commit 8b52c5c2b2
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
3 changed files with 8 additions and 4 deletions

View File

@ -24,10 +24,12 @@ pipeline:
pull: true pull: true
commands: commands:
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q - apt-get update -q
- apt-get install -qy -t stretch libvsqlitepp-dev libboost-all-dev
- apt-get install -qy -t jessie-backports cmake - apt-get install -qy -t jessie-backports cmake
- apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev - apt-get install -qy libxdg-basedir-dev
- rm -rf build && mkdir -p build && cd build - rm -rf build && mkdir -p build && cd build
- cmake .. - cmake ..
- make VERBOSE=1 - make VERBOSE=1
@ -37,10 +39,12 @@ pipeline:
pull: true pull: true
commands: commands:
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q - apt-get update -q
- apt-get install -qy -t stretch libvsqlitepp-dev libboost-all-dev
- apt-get install -qy -t jessie-backports cmake - apt-get install -qy -t jessie-backports cmake
- apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev - apt-get install -qy libxdg-basedir-dev
- rm -rf build && mkdir -p build && cd build - rm -rf build && mkdir -p build && cd build
- cmake .. - cmake ..
- make VERBOSE=1 - make VERBOSE=1

View File

@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.7) cmake_minimum_required (VERSION 3.6)
project (whyblocked project (whyblocked
VERSION 0.6.0 VERSION 0.6.0
LANGUAGES CXX LANGUAGES CXX

View File

@ -43,7 +43,7 @@ User or instance: @tastytea@soc.ialis.me
### Dependencies ### Dependencies
* C++ compiler (tested: gcc 6/7/8) * C++ compiler (tested: gcc 6/7/8)
* [cmake](https://cmake.org/) (at least 3.7) * [cmake](https://cmake.org/) (at least 3.6)
* [vsqlite++](http://vsqlite.virtuosic-bytes.com/) (tested: 0.3.13) * [vsqlite++](http://vsqlite.virtuosic-bytes.com/) (tested: 0.3.13)
* [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2) * [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2)