-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
70 additions
and
49 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 |
---|---|---|
@@ -1,32 +1,47 @@ | ||
name: CI build of the standard | ||
# This file generated from a template file maintained in the ivoatex repository. | ||
# To create and install it into a project repository, do: | ||
# make github-preview | ||
# git commit | ||
# git push | ||
# | ||
name: Check the IVOA document | ||
|
||
on: | ||
env: | ||
doc_name: DALI | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Checkout the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc ghostscript cm-super librsvg2-bin inkscape | ||
sudo apt install texlive-latex-base texlive-latex-recommended \ | ||
texlive-latex-extra texlive-fonts-recommended | ||
pdftk xsltproc latexmk cm-super | ||
- name: Build the document | ||
run: make role_diagram.pdf biblio forcetex | ||
run: make | ||
|
||
- name: Check the output | ||
run: | | ||
test -f DALI.pdf | ||
test -f DALI.bbl | ||
- uses: actions/upload-artifact@v1 | ||
test -f ${{ env.doc_name }}.pdf | ||
test -f ${{ env.doc_name }}.bbl | ||
- name: Keep the PDF artefact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: DALI.pdf Preview | ||
path: DALI.pdf | ||
name: PDF Preview | ||
path: ${{ env.doc_name }}.pdf |
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