mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
Merge branch 'issue#51' into 'master'
Enable static analyzer in CI Closes #51 See merge request GNOME/libsecret!69
This commit is contained in:
commit
a99bae1618
@ -4,6 +4,7 @@ stages:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
DEPENDENCIES: dbus-x11 diffutils gcc gjs meson ninja-build python3-dbus python3-gobject redhat-rpm-config
|
DEPENDENCIES: dbus-x11 diffutils gcc gjs meson ninja-build python3-dbus python3-gobject redhat-rpm-config
|
||||||
|
CPPCHECK_OPTIONS: "--enable=warning --enable=style --enable=performance --enable=portability --std=c99 --template='{id}:{file}:{line},{severity},{message}'"
|
||||||
|
|
||||||
fedora:Werror:
|
fedora:Werror:
|
||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
@ -59,6 +60,24 @@ fedora:ubsan:
|
|||||||
paths:
|
paths:
|
||||||
- _build/meson-logs/testlog.txt
|
- _build/meson-logs/testlog.txt
|
||||||
|
|
||||||
|
fedora-static-analyzers/test:
|
||||||
|
image: fedora:latest
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- dnf upgrade -y
|
||||||
|
- dnf install -y 'dnf-command(builddep)'
|
||||||
|
- dnf builddep -y libsecret
|
||||||
|
- dnf install -y $DEPENDENCIES clang-analyzer cppcheck
|
||||||
|
- dbus-uuidgen --ensure
|
||||||
|
script:
|
||||||
|
- meson _build
|
||||||
|
- meson compile -C _build --ninja-args scan-build
|
||||||
|
- cppcheck --force -q $CPPCHECK_OPTIONS libsecret/ egg/ tool/
|
||||||
|
artifacts:
|
||||||
|
when: on_failure
|
||||||
|
paths:
|
||||||
|
- _build/meson-logs/testlog.txt
|
||||||
|
|
||||||
fedora:coverage:
|
fedora:coverage:
|
||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
stage: build
|
stage: build
|
||||||
|
Loading…
Reference in New Issue
Block a user