Stop building for arm64; build microarch-optimised packages
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
db3d1d3007
commit
5256878b9c
2 changed files with 13 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
PKGBUILD
2
PKGBUILD
|
|
@ -36,7 +36,7 @@ sha256sums=('1a10fac42d03b3a1231cd6998a73fb4ab4f191694628953e7229f6de2053a985'
|
|||
'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e')
|
||||
|
||||
build() {
|
||||
make
|
||||
make CFLAGS="$CFLAGS"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue