-
Notifications
You must be signed in to change notification settings - Fork 0
102 lines (89 loc) · 2.43 KB
/
check.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
name: check
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '1 2 5 * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changelog:
name: CHANGELOG.md
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
show-progress: 'false'
- name: Lint CHANGELOG.md
uses: jbangdev/jbang-action@v0.115.0
with:
script: com.github.nbbrd.heylogs:heylogs-cli:0.7.1:bin
scriptargs: "check CHANGELOG.md"
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: 'false'
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
package_file: Texlivefile
- name: Build basic-test-en
run: |
pdflatex basic-test-en
biber basic-test-en
pdflatex basic-test-en
pdflatex basic-test-en
- run: texlogsieve basic-test-en.log
- name: Build basic-test-de
run: |
pdflatex basic-test-de
biber basic-test-de
pdflatex basic-test-de
pdflatex basic-test-de
- run: texlogsieve basic-test-de.log
- name: Build mwe-de
run: |
pdflatex mwe-de
biber mwe-de
pdflatex mwe-de
pdflatex mwe-de
- run: texlogsieve mwe-de.log
- name: Build mwe-en
run: |
pdflatex mwe-en
biber mwe-en
pdflatex mwe-en
pdflatex mwe-en
- run: texlogsieve mwe-en.log
- name: Upload PDFs
uses: actions/upload-artifact@v4
with:
name: PDFs
path: |
*.pdf
*.log
- name: Prepare for CTAN
run: |
git config --global --add safe.directory /__w/biblatex-lni/biblatex-lni
./release.sh
- name: Upload CTAN build
uses: actions/upload-artifact@v4
with:
name: CTAN
path: 'biblatex-lni.zip'
- name: pkgcheck
run: |
set -e
wget https://gitlab.com/Lotz/pkgcheck/raw/master/bin/pkgcheck -q --output-document=/usr/local/bin/pkgcheck && chmod a+x /usr/local/bin/pkgcheck
mv biblatex-lni.zip /tmp
cd /tmp
unzip biblatex-lni.zip
pkgcheck -d /tmp/biblatex-lni