forked from Hello_User/mirror-test
		
	This commit is contained in:
		@@ -18,9 +18,7 @@ steps:
 | 
				
			|||||||
  image: archlinux:base-devel
 | 
					  image: archlinux:base-devel
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - pacman -Syu --noconfirm
 | 
					  - pacman -Syu --noconfirm
 | 
				
			||||||
  - useradd --no-create-home --shell=/bin/sh build && usermod -L build
 | 
					  - chmod +x setupbuild.sh
 | 
				
			||||||
  - echo "build ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers
 | 
					  - sh setupbuild.sh
 | 
				
			||||||
  - echo "root ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers
 | 
					 | 
				
			||||||
  - chown -R build:build /drone/src
 | 
					 | 
				
			||||||
  - su build
 | 
					  - su build
 | 
				
			||||||
  - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps
 | 
					  - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps
 | 
				
			||||||
		Reference in New Issue
	
	Block a user