Skip to content
Snippets Groups Projects
Commit 1feb3f64 authored by Simon McVittie's avatar Simon McVittie
Browse files

gitlab-ci: Do a build with clang and scan-build


This might give us more/different compiler warnings.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 639b538c
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,11 @@ build:devel:
- |
set -eux
apt-get -y --no-install-recommends install \
clang \
clang-tools \
${NULL+}
git clone \
-b${STEAM_RUNTIME_TOOLS_GIT_BRANCH} \
${STEAM_RUNTIME_TOOLS_GIT_REPO} \
......@@ -60,6 +65,16 @@ build:devel:
ninja -C _build install
meson test --verbose -C _build
export CC=clang
export CXX=clang++
rm -fr _build
meson --werror _build
ninja -C _build
ninja -C _build scan-build
ninja -C _build install
meson test --verbose -C _build
build:scout:
stage: build
image: "${SCOUT_DOCKER_REGISTRY}/${SCOUT_DOCKER_IMAGE}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment