CI: Added clang 3
the build was successful Detalles

Este commit está contenido en:
tastytea 2018-12-29 06:28:04 +01:00
padre e662b73918
commit b74db00ff3
Firmado por: tastytea
ID de clave GPG: CFC39497F1B26E07
Se han modificado 2 ficheros con 21 adiciones y 1 borrados

Ver fichero

@ -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

Ver fichero

@ -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