Browse Source

CI: Added clang 3

tags/0.4.0
tastytea 7 months ago
parent
commit
b74db00ff3
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
2 changed files with 21 additions and 1 deletions
  1. 20
    0
      .drone.yml
  2. 1
    1
      README.md

+ 20
- 0
.drone.yml View File

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

+ 1
- 1
README.md View File

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


Loading…
Cancel
Save