Updated to new vieter & multi-arch setup
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2055ca2d9b
commit
39850bd500
2 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
PKGBUILD
2
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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue