]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: build translated manpages during test
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 5 May 2023 08:42:03 +0000 (10:42 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 6 May 2023 04:47:42 +0000 (06:47 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
.github/workflows/cibuild-setup-ubuntu.sh
.github/workflows/cibuild.yml

index 5aaa8c22ac44ebab71eb2b453de5002d058a5ced..93cc21f8b77c493e70f9e0efa871fd3410057d6e 100755 (executable)
@@ -37,6 +37,10 @@ if [[ "$QEMU_USER" != "1" ]]; then
        PACKAGES+=(linux-modules-extra-$(uname -r))
 fi
 
+if [[ "$TRANSLATE_MANPAGES" == "yes" ]];then
+       PACKAGES+=(po4a)
+fi
+
 apt-get -y update --fix-missing
 apt install -y lsb-release software-properties-common
 
index d367efdff1f764801dd06dc8399be566630f2ac8..7bb03457b13a216da34bc3fa601165db5a4db5ee 100644 (file)
@@ -93,6 +93,7 @@ jobs:
       COMPILER: gcc
       COMPILER_VERSION: 10
       SANITIZE: no
+      TRANSLATE_MANPAGES: yes
     steps:
       - name: Repository checkout
         uses: actions/checkout@v1