mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-09 04:05:58 +00:00
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:
parent
54733718bd
commit
44bf0baaa7
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal 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/
|
28
.travis.yml
28
.travis.yml
|
@ -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 \
|
||||
'
|
|
@ -6,6 +6,7 @@ LABEL description="Fedora-based environment for building PipeWire" \
|
|||
|
||||
# Install pipewire dependencies
|
||||
RUN dnf -y install \
|
||||
which \
|
||||
gcc \
|
||||
meson \
|
||||
systemd-devel \
|
||||
|
|
Loading…
Reference in New Issue
Block a user