Test old CI workflow #213
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
name: CI l3build tests | |
on: [push, pull_request] | |
env: | |
ZC_PACKAGE_LIST: | | |
# The test framework | |
l3build | |
# Build formats | |
latex | |
latex-bin | |
luatex | |
luatexbase | |
xetex | |
# dev kernel | |
latex-bin-dev | |
latex-base-dev | |
latex-amsmath-dev | |
latex-graphics-dev | |
latex-tools-dev | |
latex-firstaid-dev | |
xelatex-dev | |
# Fonts | |
metafont | |
mfware | |
ec | |
amsfonts | |
mathpazo | |
psnfss | |
tex-gyre | |
inconsolata | |
# Dependencies | |
alphalph | |
amsmath | |
appendix | |
babel-english | |
babel-french | |
babel-german | |
babel-latin | |
babel-portuges | |
babel-spanish | |
babel-dutch | |
babel-italian | |
beamer | |
bookmark | |
booktabs | |
breqn | |
caption | |
carlisle | |
colortbl | |
csquotes | |
dvips | |
enumitem | |
environ | |
epstopdf-pkg | |
etexcmds | |
fancyvrb | |
float | |
floatrow | |
fmtcount | |
graphics | |
hologo | |
hypdoc | |
hyperref | |
hyphen-french | |
hyphen-german | |
hyphen-latin | |
hyphen-italian | |
iftex | |
infwarerr | |
intcalc | |
koma-script | |
kvdefinekeys | |
kvoptions | |
kvsetkeys | |
listings | |
ltxcmds | |
makeindex | |
mathtools | |
memoir | |
microtype | |
mptopdf | |
newfloat | |
oberdiek | |
pdftexcmds | |
polyglossia | |
subfig | |
tcolorbox | |
tools | |
trivfloat | |
underscore | |
upquote | |
zref | |
zref-check | |
zref-vario | |
jobs: | |
check: | |
name: Regression tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install TeX Live | |
uses: zauguin/install-texlive@v3 | |
with: | |
packages: ${{ env.ZC_PACKAGE_LIST }} | |
- name: Run tests | |
run: l3build check -q --show-log-on-error | |
- 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: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install TeX Live | |
uses: zauguin/install-texlive@v3 | |
with: | |
packages: ${{ env.ZC_PACKAGE_LIST }} | |
- name: Compile documentation | |
run: l3build doc -q |