diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 41cb9bff18c1691a7d4eb09164fbac176daceb6f..3d4eb474521dfca14f913945747f9e38100a677c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,11 +36,23 @@ smoke-test-suite: stage: smoke-test script: make smoke-test-suite -static-analysis-with-emper-io: - stage: smoke-test - script: make static-analysis - variables: - EMPER_IO: "true" +fast-static-analysis: + stage: smoke-test + script: make fast-static-analysis + variables: + EMPER_IO: "true" + +iwyu: + stage: smoke-test + script: make iwyu + variables: + EMPER_IO: "true" + +clang-tidy: + stage: smoke-test + script: make tidy + variables: + EMPER_IO: "true" .test: stage: test diff --git a/Makefile b/Makefile index f66fcb8fbd03ac67518616ade4882ab1945bcf0f..432d6fcf5d6b134b92a05c2ac3053c74cb6198df 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,11 @@ else $(warning old mesion version $(MESON_VERSION) detected, meson >= 0.52 required for clang-tidy) endif +.PHONY: fast-static-analysis +fast-static-analysis: all check-format check-license doc + .PHONY: static-analysis -static-analysis: all check-format check-license doc +static-analysis: fast-static-analysis $(NINJA) -C build $(STATIC_ANALYSIS_NINJA_TARGETS) .PHONY: smoke-test-suite