-
Notifications
You must be signed in to change notification settings - Fork 1
139 lines (126 loc) · 2.55 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Based on:
# https://github.com/josephwright/siunitx/blob/main/.github/workflows/main.yaml
# https://github.com/zauguin/install-texlive
# https://github.com/moewew/biblatex-ext/blob/dev/.github/workflows/l3build.yml
# https://github.com/CTeX-org/ctex-kit/blob/master/.github/workflows/test.yml
# See also:
# https://github.com/gusbrs/zref-clever/issues/20
# https://github.com/gusbrs/zref-clever/pull/15
name: CI l3build tests
on:
push:
pull_request:
schedule:
- cron: "0 12 * * 5" # Every Friday at 12:00 UTC
env:
PN_PACKAGE_LIST: |
# The test framework
l3build
# Build formats
latex
latex-bin
luatex
luatexbase
xetex
# Fonts
metafont
mfware
ec
amsfonts
mathpazo
psnfss
tex-gyre
inconsolata
# Dependencies
alphalph
amsmath
babel-english
hyphen-english
babel-portuges
hyphen-portuguese
babel-french
hyphen-french
babel-german
hyphen-german
babel-spanish
hyphen-spanish
biblatex
biber
bookmark
booktabs
caption
carlisle
colortbl
csquotes
dvips
enumitem
epstopdf-pkg
etexcmds
fancyvrb
geometry
graphics
hologo
hypdoc
hyperref
hyphen-base
iftex
infwarerr
intcalc
kvdefinekeys
kvoptions
kvsetkeys
listings
ltxcmds
luavlna
makeindex
microtype
mptopdf
oberdiek
pdftexcmds
polyglossia
subfig
tabularray
tools
underscore
upquote
zref
zref-clever
zref-check
zref-vario
jobs:
check:
name: Regression tests
runs-on: ubuntu-latest
steps:
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
packages: ${{ env.PN_PACKAGE_LIST }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Run tests
run: l3build check -q
- name: Archive failed test output
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-diff-files
path: build/test*/*.diff
doc:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
packages: ${{ env.PN_PACKAGE_LIST }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile documentation
run: l3build doc -q -H
- name: Archive documentation
if: success()
uses: actions/upload-artifact@v3
with:
name: documentation
path: build/doc/*.pdf