diff --git a/.woodpecker.yml b/.woodpecker.yml index f3d4a20..626f70e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 291d7c2..79cfbc1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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")