gitlab: Add support for GitLab CI

This adds a Dockerfile to generate a Docker image with the required
dependencies on top of the standard Ubuntu 18.04 image. The Gitlab CI
then runs the PulseAudio build within this image.
This commit is contained in:
Arun Raghavan 2018-06-30 12:03:30 +05:30
parent f84b8516df
commit abfd5242e8
2 changed files with 72 additions and 0 deletions

18
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,18 @@
image: registry.freedesktop.org/pulseaudio/pulseaudio/ubuntu:18.04
build:
stage: build
script:
- export MAKEFLAGS="-j$(nproc)"
- NOCONFIGURE=1 ./bootstrap.sh
- mkdir build
- cd build
- ../configure --localstatedir=/var
- make
- make check
- make check-daemon
- ulimit -c 0 # don't dump core files on tests that are supposed to assert
- make distcheck
artifacts:
paths:
- build/