Commit 1a7d09ac authored by Guido Gunther's avatar Guido Gunther
Browse files

gitlab-ci: Enable failure on clang warings

Debian buster has mesa 0.49.0 that splits SCANBUILD on shlex:

    https://github.com/mesonbuild/meson/pull/4346
parent 9d5c3d09
Pipeline #3570 failed with stage
in 3 minutes and 43 seconds
......@@ -43,17 +43,14 @@ build-debian-clang:
image: debian:buster
before_script:
- apt-get -y update
- apt-get -y install build-essential clang-tools
- apt-get -y install build-essential clang-tools-7
- apt-get -y build-dep .
<<: *tags
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
- SCANBUILD="scan-build --status-bugs" ninja -C _build scan-build
artifacts:
when: always
paths:
......
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