Subject: [PATCH -perfbook] gitlab-ci: Append /usr/bin/*_perl to PATH
Under archlinux-based container runs, non-login shells need to source
/etc/profile to have package-specific commands such as encguess (under
/usr/bin/core_perl) appended in its PATH.
Add the command so that the change in commit 00361e8bb1e5 ("Convert
*.log files into UTF-8 encoding") to work in gitlab-ci builds.
Signed-off-by: Akira Yokosawa <[email protected]>
Cc: Leonardo Bras <[email protected]>
---
Hi Leo,
I think this should work, but I have not tested under gitlab-ci.
Can you apply this and see if the message from grep:
...
pdflatex 1 for perfbook.pdf
grep: perfbook.log: binary file matches <===
...
disappears in the build log?
Thanks, Akira
--
utilities/gitlab-ci.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/utilities/gitlab-ci.yml b/utilities/gitlab-ci.yml
index 60e70a26..f03e39a9 100644
--- a/utilities/gitlab-ci.yml
+++ b/utilities/gitlab-ci.yml
@@ -23,6 +23,7 @@ generate_pdfs:
- mkdir -p ~/.local/share/fonts && cp
fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
script:
+ - source /etc/profile
- make perfbook.pdf perfbook-1c.pdf perfbook-eb.pdf
artifacts:
base-commit: 00361e8bb1e59a0cf7a2a83028fab323f60c2207
--
2.43.0