summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml20
1 files changed, 16 insertions, 4 deletions
diff --git a/.drone.yml b/.drone.yml
index cfe0244..113101a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,7 +13,7 @@ trigger:
- tag
steps:
-- name: GCC 8 on Debian buster
+- name: GCC 8 / clang 7
image: debian:buster-slim
pull: always
environment:
@@ -25,18 +25,24 @@ 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
+ - apt-get install -qq build-essential cmake clang
- apt-get install -qq catch libcurl4-openssl-dev
- rm -rf build && mkdir -p build && cd build
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
- make VERBOSE=1
- make install DESTDIR=install
- cd tests && ctest -V
+ - cd ../../
+ - rm -rf build && mkdir -p build && cd build
+ - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
+ - make VERBOSE=1
+ - make install DESTDIR=install
+ - cd tests && ctest -V
volumes:
- name: debian-package-cache
path: /var/cache/apt/archives
-- name: GCC 7 on Ubuntu bionic
+- name: GCC 7 / clang 6
image: ubuntu:bionic
pull: always
environment:
@@ -48,13 +54,19 @@ 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
+ - apt-get install -qq build-essential cmake clang
- apt-get install -qq catch libcurl4-openssl-dev
- rm -rf build && mkdir -p build && cd build
- cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
- make VERBOSE=1
- make install DESTDIR=install
- cd tests && ctest -V
+ - cd ../../
+ - rm -rf build && mkdir -p build && cd build
+ - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES ..
+ - make VERBOSE=1
+ - make install DESTDIR=install
+ - cd tests && ctest -V
volumes:
- name: debian-package-cache
path: /var/cache/apt/archives