Skip to content
Snippets Groups Projects
Commit 1644b65b authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

ci: Ensure scan-build uses clang as compiler

Otherwise it overrides CC and uses the default compiler, i.e. gcc in our
case, making build-clang a duplicate of build-gcc + scan-build.

Fixes: 8bf2175d
parent 8bf2175d
No related branches found
No related tags found
1 merge request!116ci: Ensure scan-build uses clang as compiler
Pipeline #29101 passed
...@@ -89,7 +89,7 @@ build-clang: ...@@ -89,7 +89,7 @@ build-clang:
CC: "clang" CC: "clang"
CONFIGURE_FLAGS: "--enable-debug=werror" CONFIGURE_FLAGS: "--enable-debug=werror"
before_script: before_script:
- WRAPPER=${SCAN_BUILD+scan-build} - WRAPPER=${SCAN_BUILD+scan-build --use-cc=clang --use-c++=clang}
extends: .build extends: .build
build-no-x11: build-no-x11:
......
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