mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
f84b8516df
commit
abfd5242e8
2 changed files with 72 additions and 0 deletions
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue