mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
						commit
						2114e19aee
					
				
					 2 changed files with 38 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								.ci/build.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								.ci/build.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# clone and build wlc
 | 
				
			||||||
 | 
					git clone https://github.com/Cloudef/wlc.git
 | 
				
			||||||
 | 
					cd wlc
 | 
				
			||||||
 | 
					git submodule update --init --recursive # - initialize and fetch submodules
 | 
				
			||||||
 | 
					mkdir target && cd target               # - create build target directory
 | 
				
			||||||
 | 
					cmake -DCMAKE_BUILD_TYPE=Upstream ..    # - run CMake
 | 
				
			||||||
 | 
					make                                    # - compile
 | 
				
			||||||
 | 
					sudo make install                       # - install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd ../..
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# build sway
 | 
				
			||||||
 | 
					cmake .
 | 
				
			||||||
 | 
					make
 | 
				
			||||||
							
								
								
									
										22
									
								
								.travis.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.travis.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					sudo: required
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					arch:
 | 
				
			||||||
 | 
					  packages:
 | 
				
			||||||
 | 
					    - cmake
 | 
				
			||||||
 | 
					    - xorg-server-xwayland
 | 
				
			||||||
 | 
					    - asciidoc
 | 
				
			||||||
 | 
					    - pcre
 | 
				
			||||||
 | 
					    - json-c
 | 
				
			||||||
 | 
					    - pixman
 | 
				
			||||||
 | 
					    - wayland
 | 
				
			||||||
 | 
					    - libxkbcommon
 | 
				
			||||||
 | 
					    - libinput
 | 
				
			||||||
 | 
					    - libx11
 | 
				
			||||||
 | 
					    - libxcb
 | 
				
			||||||
 | 
					    - libgl
 | 
				
			||||||
 | 
					    - mesa
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					    - "bash .ci/build.sh"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					script:
 | 
				
			||||||
 | 
					  - "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue