LADI
/
spa
1
Fork 0

ci: Migrate from Travis to GitLab CI

This makes more sense now since we're using FDO GitLab for all the other
development infra.
This commit is contained in:
Arun Raghavan 2019-11-03 15:58:48 +01:00
parent 54733718bd
commit 44bf0baaa7
3 changed files with 14 additions and 28 deletions

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
image: registry.freedesktop.org/pipewire/pipewire/fedora:31
build:
stage: build
script:
- ./autogen.sh -Ddocs=true -Daudiomixer=true -Daudiotestsrc=true -Dtest=true -Dvideotestsrc=true -Dvolume=true
- make
- make test
- DESTDIR=$PWD/build/i make install
- PREFIX=$PWD/build/i/usr/local ./check_missing_headers.sh
artifacts:
paths:
- build/

View File

@ -1,28 +0,0 @@
sudo: required
language: minimal
services:
- docker
addons:
apt:
packages:
- docker-ce
before_install:
- docker pull gkiagia/pipewire_build_environment:latest
script:
- >
docker run -it --rm -v $PWD:/workdir gkiagia/pipewire_build_environment:latest bash -c
'cd /workdir \
&& env MESON=meson ./autogen.sh \
-Ddocs=true \
-Daudiomixer=true \
-Daudiotestsrc=true \
-Dffmpeg=true \
-Dtest=true \
-Dvideotestsrc=true \
-Dvolume=true \
-Dvulkan=false \
&& make \
&& make test \
&& env DESTDIR=$PWD/build/i make install \
&& env PREFIX=$PWD/build/i/usr/local ./check_missing_headers.sh \
'

View File

@ -6,6 +6,7 @@ LABEL description="Fedora-based environment for building PipeWire" \
# Install pipewire dependencies
RUN dnf -y install \
which \
gcc \
meson \
systemd-devel \