ci: publish to vieter arch-repos
	
		
			
	
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
					Details
				
			
		
	
				
					
				
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
					Details
				
			
		
	
							parent
							
								
									e1a14e69f6
								
							
						
					
					
						commit
						f84f1080d8
					
				| 
						 | 
					@ -1,10 +1,16 @@
 | 
				
			||||||
matrix:
 | 
					matrix:
 | 
				
			||||||
  PLATFORM:
 | 
					  # PLATFORM:
 | 
				
			||||||
    - linux/amd64
 | 
					  #   - linux/amd64
 | 
				
			||||||
    - linux/arm64
 | 
					  #   - linux/arm64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  ARCH:
 | 
				
			||||||
 | 
					    # tuur
 | 
				
			||||||
 | 
					    - tigerlake
 | 
				
			||||||
 | 
					    # cenny
 | 
				
			||||||
 | 
					    - skylake
 | 
				
			||||||
 | 
					
 | 
				
			||||||
branches: main
 | 
					branches: main
 | 
				
			||||||
platform: ${PLATFORM}
 | 
					platform: linux/amd64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
when:
 | 
					when:
 | 
				
			||||||
  event: push
 | 
					  event: push
 | 
				
			||||||
| 
						 | 
					@ -13,6 +19,8 @@ pipeline:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
    image: 'menci/archlinuxarm:base-devel'
 | 
					    image: 'menci/archlinuxarm:base-devel'
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
 | 
					      # Add my bur repo to pacman for the libxft-bgra dependency
 | 
				
			||||||
 | 
					      - echo -e '[bur]\nServer = https://arch.r8r.be/$repo/$arch\nSigLevel = Optional' >> /etc/pacman.conf
 | 
				
			||||||
      # Update packages
 | 
					      # Update packages
 | 
				
			||||||
      - pacman -Syu --noconfirm
 | 
					      - pacman -Syu --noconfirm
 | 
				
			||||||
      # Create non-root user to perform build & switch to their home
 | 
					      # Create non-root user to perform build & switch to their home
 | 
				
			||||||
| 
						 | 
					@ -22,7 +30,11 @@ pipeline:
 | 
				
			||||||
      - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
 | 
					      - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
 | 
				
			||||||
      - su builder
 | 
					      - su builder
 | 
				
			||||||
      # Build the package
 | 
					      # Build the package
 | 
				
			||||||
      - MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed
 | 
					      - >
 | 
				
			||||||
 | 
					        MAKEFLAGS="-j$(nproc)"
 | 
				
			||||||
 | 
					        makepkg -s --noconfirm --needed
 | 
				
			||||||
 | 
					        CFLAGS="-O3 -flto -march=${ARCH}"
 | 
				
			||||||
 | 
					        CARCH="x86_64_${ARCH}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  publish:
 | 
					  publish:
 | 
				
			||||||
    image: 'curlimages/curl'
 | 
					    image: 'curlimages/curl'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										7
									
								
								PKGBUILD
								
								
								
								
							
							
						
						
									
										7
									
								
								PKGBUILD
								
								
								
								
							| 
						 | 
					@ -4,7 +4,12 @@ pkgname="jjr-dmenu"
 | 
				
			||||||
pkgver="5.2"
 | 
					pkgver="5.2"
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=1
 | 
				
			||||||
pkgdesc="Chewing_Bever's custom build of Suckless's dmenu."
 | 
					pkgdesc="Chewing_Bever's custom build of Suckless's dmenu."
 | 
				
			||||||
arch=("x86_64" "aarch64")
 | 
					arch=(
 | 
				
			||||||
 | 
					    "x86_64"
 | 
				
			||||||
 | 
					    "x86_64_tigerlake"
 | 
				
			||||||
 | 
					    "x86_64_skylake"
 | 
				
			||||||
 | 
					    "aarch64"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
url="https://git.rustybever.be/Chewing_Bever/dmenu"
 | 
					url="https://git.rustybever.be/Chewing_Bever/dmenu"
 | 
				
			||||||
license=("MIT")
 | 
					license=("MIT")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue