-
Notifications
You must be signed in to change notification settings - Fork 4
71 lines (57 loc) · 1.51 KB
/
l3build.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
name: CI
env:
TLVERSION: 2024
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '37 14 * * 5'
- cron: '11 5 * * 0'
jobs:
check:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# http://man7.org/linux/man-pages/man1/date.1.html
- name: Get date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
/tmp/texlive
~/.texlive
key: texlive${{ env.TLVERSION }}-${{ steps.get-date.outputs.date }}
restore-keys: texlive${{ env.TLVERSION }}-
- name: Set up TeX Live
run: . installsupport/install-texlive.sh
- name: Run tests
run: l3build check -q -H --show-log-on-error
doc:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# http://man7.org/linux/man-pages/man1/date.1.html
- name: Get date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
/tmp/texlive
~/.texlive
key: texlive${{ env.TLVERSION }}-${{ steps.get-date.outputs.date }}
restore-keys: texlive${{ env.TLVERSION }}-
- name: Set up TeX Live
run: . installsupport/install-texlive.sh
- name: Compile documentation
run: l3build doc -q -H