Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
Knot Resolver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jonathan Coetzee
Knot Resolver
Commits
9d46dce6
Commit
9d46dce6
authored
Jan 04, 2019
by
Vladimír Čunát
Committed by
Tomas Krizek
Jan 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: only use -Werror in the lint:pedantic job
parent
4bff1f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
No files found.
.gitlab-ci.yml
View file @
9d46dce6
...
...
@@ -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
:
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment