This commit is contained in:
parent
cd6626a86a
commit
d374c38d6b
13
.drone.yml
13
.drone.yml
|
@ -26,7 +26,7 @@ steps:
|
||||||
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qq build-essential cmake clang
|
- 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
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
|
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
|
||||||
- make VERBOSE=1
|
- make VERBOSE=1
|
||||||
|
@ -42,6 +42,12 @@ steps:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
path: /var/cache/apt/archives
|
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
|
- name: GCC 7 / clang 6
|
||||||
image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
pull: always
|
pull: always
|
||||||
|
@ -54,8 +60,9 @@ steps:
|
||||||
- rm /etc/apt/apt.conf.d/docker-clean
|
- rm /etc/apt/apt.conf.d/docker-clean
|
||||||
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qq build-essential cmake clang
|
- apt-get install -qq build-essential clang
|
||||||
- apt-get install -qq catch uri-boost gettext
|
- 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
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
|
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
|
||||||
- make VERBOSE=1
|
- make VERBOSE=1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user