Stop building for arm64; build microarch-optimised packages
ci/woodpecker/push/woodpecker Pipeline was successful Details

master
Jef Roosens 2022-06-06 23:09:29 +02:00
parent db3d1d3007
commit 5256878b9c
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 13 additions and 7 deletions

View File

@ -1,10 +1,16 @@
matrix: matrix:
PLATFORM: # PLATFORM:
- linux/amd64 # - linux/amd64
- linux/arm64 # - linux/arm64
ARCH:
# tuur
- tigerlake
# cenny
- skylake
branches: master branches: master
platform: ${PLATFORM} platform: linux/amd64
when: when:
event: push event: push
@ -24,12 +30,12 @@ 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 - MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed CFLAGS="-O3 -flto -march=${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/publish' - 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/jjr-${ARCH}/publish'
secrets: secrets:
- api_key - api_key

View File

@ -36,7 +36,7 @@ sha256sums=('1a10fac42d03b3a1231cd6998a73fb4ab4f191694628953e7229f6de2053a985'
'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e') 'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e')
build() { build() {
make make CFLAGS="$CFLAGS"
} }
package() { package() {