ci: output to different architectures instead
ci/woodpecker/push/woodpecker Pipeline was successful Details

master
Jef Roosens 2022-08-28 11:05:25 +02:00
parent 5256878b9c
commit 7aa4a0ec88
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 14 additions and 3 deletions

View File

@ -30,12 +30,16 @@ pipeline:
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- su builder - su builder
# Build the package # Build the package
- MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed CFLAGS="-O3 -flto -march=${ARCH}" - >
MAKEFLAGS="-j$(nproc)"
makepkg -s --noconfirm --needed
CFLAGS="-O3 -flto -march=${ARCH}"
CARCH="x86_64_${ARCH}"
publish: publish:
image: 'curlimages/curl' 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/jjr-${ARCH}/publish' - 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/jjr/publish'
secrets: secrets:
- api_key - api_key

View File

@ -4,7 +4,12 @@ pkgname=jjr-st
pkgver=0.8.8 pkgver=0.8.8
pkgrel=2 pkgrel=2
pkgdesc="My build of the st terminal" pkgdesc="My build of the st terminal"
arch=("x86_64" "aarch64") arch=(
"x86_64"
"x86_64_tigerlake"
"x86_64_skylake"
"aarch64"
)
url="https://git.rustybever.be/Chewing_Bever/st" url="https://git.rustybever.be/Chewing_Bever/st"
license=("MIT") license=("MIT")
@ -50,3 +55,5 @@ package() {
# install $installopts "$docdir" README.terminfo.rst # install $installopts "$docdir" README.terminfo.rst
# install $installopts "$shrdir/$pkgname" "$_sourcedir/st.info" # install $installopts "$shrdir/$pkgname" "$_sourcedir/st.info"
} }
# vim: ft=bash