mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	ci: add a job to build with the minimum required meson version
We can't build the session managers though, both require higher meson versions than us.
This commit is contained in:
		
							parent
							
								
									cc38f8cc79
								
							
						
					
					
						commit
						cd3bd825c1
					
				
					 1 changed files with 16 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -262,6 +262,22 @@ build_meson_prerelease:
 | 
			
		|||
    MESON_OPTIONS: "-Dsession-managers=wireplumber,media-session"
 | 
			
		||||
  allow_failure: true
 | 
			
		||||
 | 
			
		||||
build_meson_exact_release:
 | 
			
		||||
  extends:
 | 
			
		||||
    - .build_on_fedora
 | 
			
		||||
  script:
 | 
			
		||||
    - meson_version=$(head -n 5 meson.build | grep 'meson_version' | sed -e 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')
 | 
			
		||||
    - echo "Requiring meson version $meson_version"
 | 
			
		||||
    - test -n "$meson_version" || (echo "Meson version parser failed" && exit 1)
 | 
			
		||||
    - pip3 uninstall --yes meson
 | 
			
		||||
    - pip3 install "meson==$meson_version"
 | 
			
		||||
    - echo "Building with meson options $MESON_OPTIONS"
 | 
			
		||||
    - meson "$BUILD_DIR" . --prefix="$PREFIX" $MESON_OPTIONS
 | 
			
		||||
    - ninja -C "$BUILD_DIR"
 | 
			
		||||
    - ninja -C "$BUILD_DIR" install
 | 
			
		||||
  variables:
 | 
			
		||||
    MESON_OPTIONS: "-Dsession-managers=[]"
 | 
			
		||||
 | 
			
		||||
valgrind:
 | 
			
		||||
  extends:
 | 
			
		||||
    - .build_on_fedora
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue