Updated to new vieter & multi-arch setup
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
2055ca2d9b
commit
39850bd500
|
@ -1,15 +1,20 @@
|
||||||
|
matrix:
|
||||||
|
PLATFORM:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
|
||||||
branches: main
|
branches: main
|
||||||
platform: linux/amd64
|
platform: ${PLATFORM}
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: 'archlinux:latest'
|
image: 'menci/archlinuxarm:base-devel'
|
||||||
commands:
|
commands:
|
||||||
# Update packages
|
# Update packages
|
||||||
- pacman -Syu --needed --noconfirm base-devel
|
- 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
|
||||||
- groupadd -g 1000 builder
|
- groupadd -g 1000 builder
|
||||||
- useradd -mg builder builder
|
- useradd -mg builder builder
|
||||||
|
@ -20,9 +25,9 @@ pipeline:
|
||||||
- MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed
|
- MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: 'archlinux:latest'
|
image: 'curlimages/curl'
|
||||||
commands:
|
commands:
|
||||||
# Publish the package
|
# 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:
|
secrets:
|
||||||
- api_key
|
- api_key
|
||||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -4,7 +4,7 @@ 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")
|
arch=("x86_64" "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