-
Notifications
You must be signed in to change notification settings - Fork 2
75 lines (66 loc) · 2.05 KB
/
texlive.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
name: Automated testing (TL 2020 - 2024)
on:
push:
branches:
- "*"
pull_request:
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 2020
- 2021
- 2022
- 2023
- 2024
command:
- testpkg
- examples
- doc
exclude:
- { version: 2020, command: doc }
- { version: 2020, command: examples }
- { version: 2021, command: doc }
- { version: 2021, command: examples }
- { version: 2022, command: doc }
- { version: 2022, command: examples }
- { version: 2023, command: doc }
- { version: 2023, command: examples }
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run github-actions-tune
uses: abbbi/github-actions-tune@v1
- name: Update sources and install ghostscript-pygments
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: fonts-urw-base35 libgs9-common libijs-0.35 libjbig2dec0 libopenjp2-7 libgs9 ghostscript python3-pygments
version: 1.0
- name: Fix dependence hypdoc in TeX Live 2020
if: ${{ startsWith(matrix.version, '2020') }}
run: perl -i -pe 's/hypdoc/oberdiek/g' .github/tl_packages
- name: Setup TeX Live ${{ matrix.version }}
uses: teatimeguest/setup-texlive-action@v3
with:
version: ${{ matrix.version }}
package-file: .github/tl_packages
cache: true
- name: Install scontents package
run: l3build install
- name: Run "l3build ${{ matrix.command }}" (TeX Live ${{ matrix.version }})
run: l3build ${{ matrix.command }}
# If fail some test, upload test and log file
- name: Upload error files
uses: actions/upload-artifact@v4
if: failure()
with:
name: github-error-files
path: |
./*.log
./*.ltx
./*.ins
./*.dtx
retention-days: 2