-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
ca89e18
commit 47a4ecb
Showing
10 changed files
with
1,855 additions
and
8 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,25 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install texlive-latex-base | ||
- name: Check bibtex files | ||
run: | | ||
cd tests/paper | ||
make test | ||
make test-short |
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
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
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,8 @@ | ||
*.aux | ||
*.bbl | ||
*.blg | ||
*.fdb_latexmk | ||
*.fls | ||
*.log | ||
*.synctex.gz |
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,24 @@ | ||
PREFIX = paper | ||
PREFIXSHORT = paper-short | ||
LATEX = pdflatex -interaction=nonstopmode -halt-on-error | ||
BIBTEX = bibtex | ||
BIBINPUTS = ../../ | ||
SHELL = /bin/bash | ||
|
||
paper: | ||
$(LATEX) $(PREFIX).tex | ||
$(BIBTEX) -min-crossrefs=99 $(PREFIX) | ||
$(LATEX) $(PREFIX).tex | ||
$(LATEX) $(PREFIX).tex | ||
$(LATEX) $(PREFIX).tex | ||
|
||
test: | ||
$(LATEX) $(PREFIX).tex > /dev/null | ||
($(BIBTEX) -min-crossrefs=99 $(PREFIX) | grep "Warning--" | grep -v "Warning--to sort, need editor or key in") && exit 1 | ||
|
||
test-short: | ||
$(LATEX) $(PREFIXSHORT).tex > /dev/null | ||
($(BIBTEX) -min-crossrefs=99 $(PREFIXSHORT) | grep "Warning--" | grep -v "Warning--to sort, need editor or key in") && exit 1 | ||
|
||
clean: | ||
rm -f *~ {$(PREFIX),$(PREFIXSHORT)}.{aux,bbl,blg,fdb_latexmk,fls,log,out,synctex.gz} |
Oops, something went wrong.