Commit 3ac076f9 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther

gitlab-ci: Build with clan (scan-build) as well

We currently don't fail on warnings:

    https://github.com/mesonbuild/meson/issues/4334
parent c8d3e5e6
......@@ -6,7 +6,7 @@ before_script:
- apt-get -y install build-essential libgtk-3-doc lcov
- apt-get -y build-dep .
build-debian:
build-debian-gcc:
image: debian:buster
tags:
- librem5
......@@ -25,6 +25,27 @@ build-debian:
paths:
- _build
build-debian-clang:
image: debian:buster
before_script:
- apt-get -y update
- apt-get -y install build-essential clang-3.9
- apt-get -y build-dep .
tags:
- librem5
stage: build
script:
- export LC_ALL=C.UTF-8
- meson . _build
# With meson 0.49 we can do
# SCANBUILD="scan-build --status-bugs" ninja scan-build
# https://github.com/mesonbuild/meson/commit/1e7aea65e68a43b0319a4a28908daddfec621548
- ninja -C _build scan-build
artifacts:
when: always
paths:
- _build/meson-logs/scanbuild
build-debian-package:
image: debian:buster
tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment