ci: publish to vieter arch-repos
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
e1a14e69f6
commit
f84f1080d8
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue