forked from apptainer/singularity-admindocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request apptainer#124 from edytuk/pr-ci
Add CI on PR
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
CI: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- 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 sphinx sphinx-rtd-theme restructuredtext_lint pygments | ||
- name: Build web documentation | ||
run: | | ||
make html | ||
- name: Build PDF documentation | ||
run: | | ||
make latexpdf | ||
- name: Build EPUB documentation | ||
run: | | ||
make epub |