Skip to content

Commit d4c429b

Browse files
committed
Workaround for doc-pdf CI failure
1 parent f4adc25 commit d4c429b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/doc-build-pdf.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ jobs:
6868
run: |
6969
sudo DEBIAN_FRONTEND=noninteractive sudo apt-get update
7070
sudo DEBIAN_FRONTEND=noninteractive apt-get install $(build/bin/sage-get-system-packages debian texlive texlive_luatex free_fonts xindy)
71-
meson compile -C builddir doc-pdf
71+
meson compile -C builddir -j1 doc-pdf
72+
# We use -j1 to workaround some unknown race condition, likely read/write on file luaotf-lookup-cache.luc.
73+
# See https://github.com/sagemath/sage/pull/40597 for discussion.
74+
# This is still a bug because someone running `meson compile` or `ninja` on their own machine
75+
# will still see the issue.
7276
env:
7377
SAGE_DOCBUILD_OPTS: "--include-tests-blocks"
7478

0 commit comments

Comments
 (0)