Let's test CircleCI

This commit is contained in:
Benedikt Heine 2018-11-24 22:55:27 +01:00 committed by Nikos Tsipinakis
parent 0a2802af75
commit 394393fb6e
2 changed files with 102 additions and 0 deletions

73
.circleci/config.yml Normal file
View File

@ -0,0 +1,73 @@
version: 2.1
jobs:
misc-doxygen:
docker:
- image: bebehei/dunst:misc-doxygen-dev
environment:
SYSTEMD: 0
SERVICEDIR_DBUS: /tmp/none
SERVICEDIR_SYSTEMD: /tmp/none
PKG_CONFIG: echo
steps:
- checkout
- run: make -j doc-doxygen
compileandtest:
environment:
CFLAGS: -Werror
parameters:
distro:
type: string
docker:
- image: bebehei/dunst:<<parameters.distro>>-dev
steps:
- checkout
- run: make -j all dunstify
- run: make -j test-valgrind
- run: make -j clean
- run: make -j test-coverage
workflows:
version: 2
build-in-docker:
jobs:
- misc-doxygen
- compileandtest:
name: Alpine
distro: alpine
- compileandtest:
name: Debian Stretch
distro: debian-stretch
requires:
- misc-doxygen
- Alpine
- compileandtest:
name: Arch Linux
distro: archlinux
requires:
- misc-doxygen
- Alpine
- compileandtest:
name: Fedora 27
distro: fedora27
requires:
- misc-doxygen
- Alpine
- compileandtest:
name: Ubuntu 14.04
distro: ubuntu-trusty
requires:
- misc-doxygen
- Alpine
- compileandtest:
name: Ubuntu 16.04
distro: ubuntu-xenial
requires:
- misc-doxygen
- Alpine
- compileandtest:
name: Ubuntu 18.04
distro: ubuntu-bionic
requires:
- misc-doxygen
- Alpine

View File

@ -1,3 +1,32 @@
# Ignore musls' weird error
{
musl_alpine_libc
Memcheck:Free
fun:free
obj:/lib/ld-musl-x86_64.so.1
}
# MemLeak under Fedora 27
{
rsvg_fedora_unknown_source
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:g_malloc
fun:g_slice_alloc
fun:g_slice_alloc0
fun:g_type_create_instance
obj:*libgobject-2.0.so*
fun:g_object_new_valist
fun:g_object_new
fun:gdk_pixbuf_new_from_data
fun:gdk_pixbuf_new
obj:*/libgdk_pixbuf-2.0.so*
fun:gdk_pixbuf_new_from_file
fun:get_pixbuf_from_file
...
}
# rsvg_error_handle_close got fixed in
# - GNOME/librsvg@7bf1014
# (2018-11-12, first tags: v2.45.0, v2.44.9)