ci (woodpecker): do a partial PGO build instead of release-x64

PGOs _are_ release builds, so we’re not missing out on
anything.

However, partial PGOs are a bit special, since they a) need to build a
PGO helper binary (which occasionally fails), and b) they need to feed
the PGO corpus to mock objects, which also could fail.
This commit is contained in:
Daniel Eklöf 2022-10-18 21:03:15 +02:00
parent 1313e6352a
commit 807e770b91
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -51,14 +51,18 @@ pipeline:
- cd ../..
# Release
# - mkdir -p bld/release-x64
# - cd bld/release-x64
# - meson --buildtype=release -Db_pgo=generate -Dgrapheme-clustering=enabled -Dfcft:grapheme-shaping=enabled -Dfcft:run-shaping=enabled -Dfcft:test-text-shaping=true ../..
# - ninja -v -k0
# - ninja -v test
# - ./foot --version
# - ./footclient --version
# - cd ../..
# Partial PGO
- mkdir -p bld/release-x64
- cd bld/release-x64
- meson --buildtype=release -Db_pgo=generate -Dgrapheme-clustering=enabled -Dfcft:grapheme-shaping=enabled -Dfcft:run-shaping=enabled -Dfcft:test-text-shaping=true ../..
- ninja -v -k0
- ninja -v test
- ./foot --version
- ./footclient --version
- cd ../..
- ./pgo/pgo.sh partial . bld/release-x64 -Dgrapheme-clustering=enabled -Dfcft:grapheme-shaping=enabled -Dfcft:run-shaping=enabled -Dfcft:test-text-shaping=true
# no grapheme clustering
- apk del harfbuzz harfbuzz-dev utf8proc utf8proc-dev