diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-26 16:41:23 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-26 16:41:23 +0300 |
commit | 64255f8f090ec352b128ae2ba4db9a8549e5e582 (patch) | |
tree | 878509dfc96fd373743981d1e363bb700e562055 /.drone.yml | |
parent | 84b7ed04e6b95de6050f5d6757b0d4385b297abb (diff) |
Add clang build to CI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 0ef5f5f09..842f7ee94 100644 --- a/.drone.yml +++ b/.drone.yml @@ -138,6 +138,36 @@ pipeline: matrix: TESTS: qt-5.11 + qt-5.11-clang: + image: nextcloudci/client-5.11:client-5.11-2 + commands: + # Install QtKeyChain + - /bin/bash -c " + export CC=clang-6.0 && + export CXX=clang++-6.0 && + source /opt/qt511/bin/qt511-env.sh && + cd /tmp && + git clone https://github.com/frankosterfeld/qtkeychain.git && + cd qtkeychain && + git checkout v0.8.0 && + mkdir build && + cd build && + cmake ../ && + make && + make install" + # Build client + - /bin/bash -c " + export CC=clang-6.0 && + export CXX=clang++-6.0 && + source /opt/qt511/bin/qt511-env.sh && + mkdir build && + cd build && + cmake -D NO_SHIBBOLETH=1 ../ && + make" + when: + matrix: + TESTS: qt-5.11-clang + AppImage-5.9: image: nextcloudci/client-appimage-ci:client-appimage-ci-15 commands: @@ -171,6 +201,7 @@ matrix: - TESTS: qt-5.9 - TESTS: qt-5.10 - TESTS: qt-5.11 + - TESTS: qt-5.11-clang - BUILD: AppImage - BUILD: Debian - TESTS: documentation |