From 807e770b917bf3287f17d6b5564e37bcb79f17ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 18 Oct 2022 21:03:15 +0200 Subject: [PATCH] ci (woodpecker): do a partial PGO build instead of release-x64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .woodpecker.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 284da761..6c2d829c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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