mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-06 07:58:05 +02:00
ci: Add job to run tests with address sanitizer
This commit is contained in:
parent
a58f8ed62b
commit
37a62a3a1b
1 changed files with 17 additions and 0 deletions
|
|
@ -73,6 +73,23 @@ build_stable:
|
|||
path: _build/meson-logs/coverage.xml
|
||||
coverage: '/^TOTAL.*\s+(\d+\%)$/'
|
||||
|
||||
address_sanitizer:
|
||||
variables:
|
||||
JOB_DEPS: libasan
|
||||
libubsan
|
||||
extends:
|
||||
- .install-deps
|
||||
script:
|
||||
- meson setup
|
||||
--werror
|
||||
_build
|
||||
-Db_sanitize=address,undefined
|
||||
- meson test -C _build --print-errorlogs -t 3
|
||||
artifacts:
|
||||
when: on_failure
|
||||
paths:
|
||||
- _build/meson-logs/*.txt
|
||||
|
||||
scan_build:
|
||||
variables:
|
||||
JOB_DEPS: clang-analyzer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue