diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6dfedb7 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,76 @@ +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:<>-dev + steps: + - checkout + - run: make CC=clang -j all dunstify test/test + - run: make CC=clang -j test-valgrind + - run: make clean + - run: make CC=gcc -j all dunstify test/test + - run: make CC=gcc -j test-valgrind + - run: make 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 30 + distro: fedora30 + 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 diff --git a/.valgrind.suppressions b/.valgrind.suppressions index 7a55394..7201368 100644 --- a/.valgrind.suppressions +++ b/.valgrind.suppressions @@ -1,3 +1,11 @@ +# Ignore musls' weird error +{ + musl_alpine_libc + Memcheck:Free + fun:free + obj:/lib/ld-musl-x86_64.so.1 +} + # rsvg_error_handle_close got fixed in # - GNOME/librsvg@7bf1014 # (2018-11-12, first tags: v2.45.0, v2.44.9)