-
Notifications
You must be signed in to change notification settings - Fork 0
113 lines (102 loc) · 2.71 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
103
104
105
106
107
108
109
110
111
112
113
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.118.0
with:
script: com.github.nbbrd.heylogs:heylogs-cli:0.7.2:bin
scriptargs: "check CHANGELOG.md"
cache:
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
build:
runs-on: ubuntu-latest
needs: [cache]
permissions:
contents: write
strategy:
fail-fast: false
matrix:
file: ['basic-test-en', 'basic-test-de', 'mwe-en', 'mwe-de']
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
- run: pdflatex ${{ matrix.file }}
- run: biber ${{ matrix.file }}
- run: pdflatex ${{ matrix.file }}
- run: pdflatex ${{ matrix.file }}
- run: texlogsieve ${{ matrix.file }}.log
if: always()
- name: Upload PDF and log
if: always()
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.file }}
path: |
*.bbl
*.pdf
*.log
ctan:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: 'false'
- 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
keepalive:
name: Keepalive
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2