Stop building for arm64; build microarch-optimised packages
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
db3d1d3007
commit
5256878b9c
|
@ -1,10 +1,16 @@
|
|||
matrix:
|
||||
PLATFORM:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
# PLATFORM:
|
||||
# - linux/amd64
|
||||
# - linux/arm64
|
||||
|
||||
ARCH:
|
||||
# tuur
|
||||
- tigerlake
|
||||
# cenny
|
||||
- skylake
|
||||
|
||||
branches: master
|
||||
platform: ${PLATFORM}
|
||||
platform: linux/amd64
|
||||
|
||||
when:
|
||||
event: push
|
||||
|
@ -24,12 +30,12 @@ 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}"
|
||||
|
||||
publish:
|
||||
image: 'curlimages/curl'
|
||||
commands:
|
||||
# Publish the package
|
||||
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/jjr/publish'
|
||||
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/jjr-${ARCH}/publish'
|
||||
secrets:
|
||||
- api_key
|
||||
|
|
Loading…
Reference in New Issue