Skip to content

Commit

Permalink
Test bibtex
Browse files Browse the repository at this point in the history
  • Loading branch information
rs028 committed Jan 23, 2024
1 parent 34e6e61 commit 11a39fe
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
matrix:
os: [ubuntu-22.04, macos-11, macos-12]
fortran: [9, 10, 11]
exclude: #TODO: fortran9 does not work on macos12
- os: macos-12
fortran: 9
# exclude: #TODO: fortran9 does not work on macos12
# - os: macos-12
# fortran: 9
fail-fast: false

# -------------------------------------------------------------
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
run: ./tools/install/install_numdiff.sh $PWD

- name: Install FRUIT
run: sudo ./tools/install/install_fruit.sh $PWD
run: ./tools/install/install_fruit.sh $PWD

# -------------------------------------------------------------
# (3) Compile AtChem2 using the standard compilation flags
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/tex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,28 @@ on:
# This workflow contains a single job called `pdf_manual`
jobs:
pdf_manual:
# The job runs on the latest version of ubuntu linux
runs-on: ubuntu-latest

# -------------------------------------------------------------
# Sequence of tasks to be executed as part of the `ci_testing` job:
steps:

# 1. Checkout the repository under $GITHUB_WORKSPACE
- name: Checkout repo
uses: actions/checkout@v4

# 2. Get TeXLive
- name: Setup LaTeX and install Inkscape
uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
apk add inkscape
./tools/make_manual_pdf.sh
ls doc/latex/
- name: Compile pdf file
run: ./tools/make_manual_pdf.sh


# - name: Upload PDF as Artifact
# uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions tools/make_manual_pdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ done
# Compile LaTeX source files, generate pdf file
cd ../latex/
pdflatex AtChem2-Manual.tex
# bibtex AtChem2-Manual.aux
# pdflatex AtChem2-Manual.tex
# pdflatex AtChem2-Manual.tex
bibtex AtChem2-Manual.aux
pdflatex AtChem2-Manual.tex
pdflatex AtChem2-Manual.tex

# Move pdf file to doc/ directory
#mv -f AtChem2-Manual.pdf ../AtChem2-Manual.pdf
Expand Down

0 comments on commit 11a39fe

Please # to comment.