Skip to content

Commit

Permalink
Test old CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gusbrs committed Nov 9, 2023
1 parent ec670ea commit 4536667
Showing 1 changed file with 105 additions and 23 deletions.
128 changes: 105 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,118 @@
# Based on:
# https://github.com/pgf-tikz/pgf/blob/master/.github/workflows/check.yml
# See also:
# https://github.com/gusbrs/zref-clever/pull/15#issue-1590334483
# https://gitlab.com/islandoftex/images/texlive
# https://tex.stackexchange.com/a/459486

# For an alternative to the IoT docker images:
# 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 test suite
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
xpatch
zref
zref-check
zref-vario
jobs:
tests:
check:
name: Regression tests

runs-on: ubuntu-latest
container:
image: registry.gitlab.com/islandoftex/images/texlive:latest

steps:
- name: Update TeX Live
run: tlmgr update --self --all

- 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

Expand All @@ -41,17 +125,15 @@ jobs:

doc:
name: Documentation

runs-on: ubuntu-latest
container:
image: registry.gitlab.com/islandoftex/images/texlive:latest

steps:
- name: Update TeX Live
run: tlmgr update --self --all

- 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

0 comments on commit 4536667

Please sign in to comment.