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:
|
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
|
||||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -36,7 +36,7 @@ sha256sums=('1a10fac42d03b3a1231cd6998a73fb4ab4f191694628953e7229f6de2053a985'
|
||||||
'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e')
|
'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make
|
make CFLAGS="$CFLAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in New Issue