-
Notifications
You must be signed in to change notification settings - Fork 87
39 lines (34 loc) · 785 Bytes
/
check.yml
File metadata and controls
39 lines (34 loc) · 785 Bytes
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
name: Check Build
on:
push:
branches: [main]
paths:
- 'src/*'
- 'img/*'
- 'fonts/*'
- '.github/workflows/check.yml'
pull_request:
branches: [main]
paths:
- 'src/*'
- 'img/*'
- 'fonts/*'
- '.github/workflows/check.yml'
workflow_dispatch:
jobs:
check-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wtfjoke/setup-tectonic@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: check build
run: |
apt-get update && apt-get install -y libfuse2
pip install Pygments
cd src
tectonic -Z shell-escape main.tex