mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Add .build.yml for builds.sr.ht
This commit is contained in:
		
							parent
							
								
									7c393d5143
								
							
						
					
					
						commit
						ce886c0353
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								.build.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.build.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,25 @@
 | 
				
			||||||
 | 
					image: archlinux
 | 
				
			||||||
 | 
					packages:
 | 
				
			||||||
 | 
					  - cmake
 | 
				
			||||||
 | 
					  - wayland
 | 
				
			||||||
 | 
					  - wayland-protocols
 | 
				
			||||||
 | 
					  - mesa
 | 
				
			||||||
 | 
					  - libinput
 | 
				
			||||||
 | 
					  - libxkbcommon
 | 
				
			||||||
 | 
					  - libcap
 | 
				
			||||||
 | 
					  - clang
 | 
				
			||||||
 | 
					sources:
 | 
				
			||||||
 | 
					  - https://git.sr.ht/~sircmpwn/wlroots
 | 
				
			||||||
 | 
					tasks:
 | 
				
			||||||
 | 
					  - setup: |
 | 
				
			||||||
 | 
					      mkdir wlroots/build-{gcc,clang}
 | 
				
			||||||
 | 
					      cd wlroots/build-gcc
 | 
				
			||||||
 | 
					      cmake ..
 | 
				
			||||||
 | 
					      cd ../build-clang
 | 
				
			||||||
 | 
					      CC=clang cmake ..
 | 
				
			||||||
 | 
					  - gcc: |
 | 
				
			||||||
 | 
					      cd wlroots/build-gcc
 | 
				
			||||||
 | 
					      make
 | 
				
			||||||
 | 
					  - clang: |
 | 
				
			||||||
 | 
					      cd wlroots/build-clang
 | 
				
			||||||
 | 
					      make
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue