ci: publish to vieter arch-repos
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
e1a14e69f6
commit
f84f1080d8
2 changed files with 23 additions and 6 deletions
|
|
@ -1,10 +1,16 @@
|
|||
matrix:
|
||||
PLATFORM:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
# PLATFORM:
|
||||
# - linux/amd64
|
||||
# - linux/arm64
|
||||
|
||||
ARCH:
|
||||
# tuur
|
||||
- tigerlake
|
||||
# cenny
|
||||
- skylake
|
||||
|
||||
branches: main
|
||||
platform: ${PLATFORM}
|
||||
platform: linux/amd64
|
||||
|
||||
when:
|
||||
event: push
|
||||
|
|
@ -13,6 +19,8 @@ pipeline:
|
|||
build:
|
||||
image: 'menci/archlinuxarm:base-devel'
|
||||
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
|
||||
- pacman -Syu --noconfirm
|
||||
# Create non-root user to perform build & switch to their home
|
||||
|
|
@ -22,7 +30,11 @@ pipeline:
|
|||
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
||||
- su builder
|
||||
# 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:
|
||||
image: 'curlimages/curl'
|
||||
|
|
|
|||
7
PKGBUILD
7
PKGBUILD
|
|
@ -4,7 +4,12 @@ pkgname="jjr-dmenu"
|
|||
pkgver="5.2"
|
||||
pkgrel=1
|
||||
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"
|
||||
license=("MIT")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue