From: Vladimír Čunát Date: Fri, 4 Jan 2019 13:06:44 +0000 (+0100) Subject: CI: only use -Werror in the lint:pedantic job X-Git-Tag: v3.2.1~8^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d46dce678b26ca92f7dd124d382fcc2a5ccfae1;p=thirdparty%2Fknot-resolver.git CI: only use -Werror in the lint:pedantic job --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index acc4caeef..9bc0d293a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ stages: .build: &build variables: - CFLAGS: -Werror -ggdb + CFLAGS: -ggdb stage: build except: - master @@ -45,7 +45,7 @@ build:linux:amd64: build:asan:linux:amd64: <<: *build variables: - CFLAGS: -Werror -ggdb3 -O0 -fsanitize=address -fno-omit-frame-pointer + CFLAGS: -ggdb3 -O0 -fsanitize=address -fno-omit-frame-pointer lint:pedantic: stage: test # could be in build already, but let's not block the test stage if this fails @@ -129,7 +129,7 @@ test:linux:amd64: # recompile everything otherwise lcov will bark because Git files will be "newer" than gcda files # this is caused by interaction between Git approach to timestamps and Gitlab artifacts - git clean -xdf - - make CFLAGS=-Werror + - make - MAKEFLAGS="--jobs $(nproc)" make -k check - MAKEFLAGS="--jobs $(nproc)" test "${COVERAGE:-0}" -eq 1 && make coverage-c COVERAGE_STAGE=gcov-check || echo "code coverage skipped" dependencies: [] @@ -169,7 +169,7 @@ installcheck:linux:amd64: # recompile everything otherwise lcov will bark because Git files will be "newer" than gcda files # this is caused by interaction between Git approach to timestamps and Gitlab artifacts - git clean -xdf - - make install CFLAGS=-Werror + - make install - MAKEFLAGS="--jobs $(nproc) --keep-going" make -k installcheck - MAKEFLAGS="--jobs $(nproc)" test "${COVERAGE:-0}" -eq 1 && make coverage-c coverage-lua COVERAGE_STAGE=gcov-installcheck || echo "code coverage skipped" dependencies: []