From b74db00ff3c70b2666ab386ccb97101298f0fbff Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 29 Dec 2018 06:28:04 +0100 Subject: [PATCH] CI: Added clang 3 --- .drone.yml | 20 ++++++++++++++++++++ README.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 48e1784..e450f13 100644 --- a/.drone.yml +++ b/.drone.yml @@ -100,6 +100,26 @@ pipeline: volumes: - /var/cache/debian-package-cache:/var/cache/apt/archives + clang3: + image: debian:stretch-slim + pull: true + when: + event: [push, pull_request] + environment: + - LANG=C.utf8 + - CXX=clang++ + - CXXFLAGS=-pipe -O2 + commands: + - rm /etc/apt/apt.conf.d/docker-clean + - apt-get update -q + - apt-get install -qy clang cmake pkg-config + - apt-get install -qy libconfig++-dev libxdg-basedir-dev + - rm -rf build && mkdir -p build && cd build + - cmake -DCMAKE_INSTALL_PREFIX=/usr .. + - make VERBOSE=1 + volumes: + - /var/cache/debian-package-cache:/var/cache/apt/archives + clang5: image: debian:stretch-slim pull: true diff --git a/README.md b/README.md index 2773932..b97285b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It does compile the file every time at the moment. ## Usage Use `#!/usr/bin/env compilescript` as shebang and write the compiler arguments -in the line below with the prefix: `//compilescript:` +in the line below with the prefix: `//compilescript:`. ### Example