Updated to new vieter & multi-arch setup
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Jef Roosens 2022-04-07 22:18:18 +02:00
parent 2055ca2d9b
commit 39850bd500
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 11 additions and 6 deletions

View File

@ -1,15 +1,20 @@
matrix:
PLATFORM:
- linux/amd64
- linux/arm64
branches: main
platform: linux/amd64
platform: ${PLATFORM}
when:
event: push
pipeline:
build:
image: 'archlinux:latest'
image: 'menci/archlinuxarm:base-devel'
commands:
# Update packages
- pacman -Syu --needed --noconfirm base-devel
- pacman -Syu --noconfirm
# Create non-root user to perform build & switch to their home
- groupadd -g 1000 builder
- useradd -mg builder builder
@ -20,9 +25,9 @@ pipeline:
- MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed
publish:
image: 'archlinux:latest'
image: 'curlimages/curl'
commands:
# Publish the package
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/publish'
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/vieter/publish'
secrets:
- api_key

View File

@ -4,7 +4,7 @@ pkgname="jjr-dmenu"
pkgver="5.2"
pkgrel=1
pkgdesc="Chewing_Bever's custom build of Suckless's dmenu."
arch=("x86_64")
arch=("x86_64" "aarch64")
url="https://git.rustybever.be/Chewing_Bever/dmenu"
license=("MIT")