-
Notifications
You must be signed in to change notification settings - Fork 25
56 lines (44 loc) · 1.3 KB
/
pull_request.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
---
name: CI
on:
pull_request:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.20.10
- name: Update repositories
run: |
sudo apt update
- name: Install Apptainer dependencies
run: |
sudo apt-get install -f -y build-essential libssl-dev uuid-dev squashfs-tools libseccomp-dev cryptsetup-bin libgpgme-dev
- name: Install LaTeX dependencies
run: |
sudo apt-get install -f -y texlive-latex-extra latexmk
- name: Setup Python
uses: actions/setup-python@v1
- name: Install Sphinx
run: |
pip install --user --upgrade --upgrade-strategy eager setuptools sphinx sphinx-rtd-theme restructuredtext_lint rstcheck pygments m2r2
- name: Lint rst
run: |
set -x
python3 copyreplace.py *.rst
rstcheck --ignore-languages c,c++ --report-level warning *.rep
rm -f *.rep
- name: Build web documentation
run: |
make html
- name: Build PDF documentation
run: |
make latexpdf
- name: Build EPUB documentation
run: |
make epub