Merge pull request #567 from bebehei/circleci

CircleCI
This commit is contained in:
Nikos Tsipinakis 2018-12-02 15:37:59 +02:00 committed by GitHub
commit fd486d06d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 84 additions and 0 deletions

76
.circleci/config.yml Normal file
View File

@ -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:<<parameters.distro>>-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

View File

@ -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 # rsvg_error_handle_close got fixed in
# - GNOME/librsvg@7bf1014 # - GNOME/librsvg@7bf1014
# (2018-11-12, first tags: v2.45.0, v2.44.9) # (2018-11-12, first tags: v2.45.0, v2.44.9)