mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05: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
					
				
					 3 changed files with 14 additions and 28 deletions
				
			
		
							
								
								
									
										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
 | 
					# Install pipewire dependencies
 | 
				
			||||||
RUN dnf -y install \
 | 
					RUN dnf -y install \
 | 
				
			||||||
 | 
					    which \
 | 
				
			||||||
    gcc \
 | 
					    gcc \
 | 
				
			||||||
    meson \
 | 
					    meson \
 | 
				
			||||||
    systemd-devel \
 | 
					    systemd-devel \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue