diff --git a/.drone.yml b/.drone.yml index 69ea324..17abbb4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ steps: - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - apt-get update -q - apt-get install -qq build-essential cmake clang - - apt-get install -qq catch libboost-dev gettext + - apt-get install -qq catch libboost-all-dev gettext - rm -rf build && mkdir -p build && cd build - cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. - make VERBOSE=1 @@ -42,6 +42,12 @@ steps: - name: debian-package-cache path: /var/cache/apt/archives +- name: Download CMake 3.12 installer + image: plugins/download + settings: + source: https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh + destination: cmake_installer.sh + - name: GCC 7 / clang 6 image: ubuntu:bionic pull: always @@ -54,8 +60,9 @@ steps: - rm /etc/apt/apt.conf.d/docker-clean - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - apt-get update -q - - apt-get install -qq build-essential cmake clang - - apt-get install -qq catch uri-boost gettext + - apt-get install -qq build-essential clang + - apt-get install -qq catch libboost-all-dev gettext + - sh cmake_installer.sh --skip-license --exclude-subdir --prefix=/usr/local - rm -rf build && mkdir -p build && cd build - cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. - make VERBOSE=1