CI: Added clang 3
the build was successful
Detalles
the build was successful
Detalles
Este commit está contenido en:
padre
e662b73918
commit
b74db00ff3
20
.drone.yml
20
.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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Referencia en una nueva incidencia