CI: Added clang 3
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
e662b73918
commit
b74db00ff3
20
.drone.yml
20
.drone.yml
|
@ -100,6 +100,26 @@ pipeline:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/cache/debian-package-cache:/var/cache/apt/archives
|
- /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:
|
clang5:
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
pull: true
|
pull: true
|
||||||
|
|
|
@ -9,7 +9,7 @@ It does compile the file every time at the moment.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Use `#!/usr/bin/env compilescript` as shebang and write the compiler arguments
|
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
|
### Example
|
||||||
|
|
||||||
|
|
Reference in New Issue