forked from AUR/firedragon
		
	This commit is contained in:
		
							
								
								
									
										32
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					trigger:
 | 
				
			||||||
 | 
					  event:
 | 
				
			||||||
 | 
					  - push
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: Fetch Upstream
 | 
				
			||||||
 | 
					  image: archlinux:base-devel
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - pacman -Sy git --noconfirm
 | 
				
			||||||
 | 
					  - git remote add upstream https://git.tau.aperturect.com/AUR/firedragon.git
 | 
				
			||||||
 | 
					  - git fetch upstream
 | 
				
			||||||
 | 
					  - git merge upstream/master
 | 
				
			||||||
 | 
					- name: Build firedragon
 | 
				
			||||||
 | 
					  image: archlinux:base-devel
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - pacman -Syu --noconfirm
 | 
				
			||||||
 | 
					  - pacman -Sy curl --noconfirm
 | 
				
			||||||
 | 
					  - chmod +x setupbuild.sh
 | 
				
			||||||
 | 
					  - sh setupbuild.sh
 | 
				
			||||||
 | 
					  - gpg --keyserver keys.gnupg.net --recv-keys 3B94A80E50A477C7
 | 
				
			||||||
 | 
					  - curl https://keybase.io/heftig/pgp_keys.asc | gpg --import
 | 
				
			||||||
 | 
					  - su build
 | 
				
			||||||
 | 
					  - sudo chown -R $(whoami) ~/.gnupg/
 | 
				
			||||||
 | 
					  - sudo chmod 600 ~/.gnupg/*
 | 
				
			||||||
 | 
					  - sudo chmod 700 ~/.gnupg
 | 
				
			||||||
 | 
					  - sudo gpg --keyserver keys.gnupg.net --recv-keys 3B94A80E50A477C7
 | 
				
			||||||
 | 
					  - sudo curl https://keybase.io/heftig/pgp_keys.asc | gpg --import
 | 
				
			||||||
 | 
					  - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps --noconfirm -f --skipinteg
 | 
				
			||||||
		Reference in New Issue
	
	Block a user