Skip to content

Commit d26d8ab

Browse files
committed
github: Add build on 'ubuntu-24.04' and fix 'tlmgr install' failure
"tlmgr install" would warn about "check_file_and_remove: neither checksum nor checksize available for ..." and may exit with an error, although the package is correctly installed. So ignore the error exit. It seems the latest tlmgr fixed the error exit; i.e., it still prints the warning but doesn't exit with an error. Credit: https://tug.org/pipermail/tex-live/2022-November/048688.html
1 parent cf68879 commit d26d8ab

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,37 @@ on:
77
push:
88
branches:
99
- master
10+
1011
jobs:
11-
all:
12+
ubuntu-24.04:
13+
# see https://github.com/actions/runner-images
14+
runs-on: ubuntu-24.04
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: install deps
18+
# texlive-lang-cjk -> xeCJK.sty
19+
# texlive-lang-chinese -> ctexhook.sty
20+
# texlive-fonts-recommended -> pzdr.tfm (required by mktextfm pzdr)
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y --no-install-recommends make ghostscript
24+
sudo apt-get install -y --no-install-recommends latexmk texlive-xetex
25+
sudo apt-get install -y --no-install-recommends texlive-lang-cjk texlive-lang-chinese
26+
sudo apt-get install -y --no-install-recommends fonts-ibm-plex fonts-noto-cjk texlive-fonts-recommended
27+
- name: install fontawesome5
28+
# Manually download the package and install it because the remote archive
29+
# is newer (currently 2025 vs 2023).
30+
# NOTE: "tlmgr install" would warn about "check_file_and_remove: neither
31+
# checksum nor checksize available for ..." and may exit with an error,
32+
# although the package is correctly installed. So ignore the error exit.
33+
run: |
34+
wget https://mirror.ctan.org/systems/texlive/tlnet/archive/fontawesome5.tar.xz
35+
tlmgr --usermode init-usertree
36+
tlmgr --usermode install --file fontawesome5.tar.xz || true
37+
- name: build pdfs
38+
run: make
39+
40+
ubuntu-22.04:
1241
# see https://github.com/actions/runner-images
1342
runs-on: ubuntu-22.04
1443
steps:

0 commit comments

Comments
 (0)