-
Notifications
You must be signed in to change notification settings - Fork 94
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
42 changed files
with
2,448 additions
and
393 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 |
---|---|---|
|
@@ -30,14 +30,30 @@ jobs: | |
run: sudo apt-get -y install pandoc | ||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
- name: Make HTML Docs | ||
- name: Make html/pdf Docs | ||
continue-on-error: true | ||
run: | | ||
sudo apt-get install texlive-xetex | ||
sudo apt-get install texlive-latex-base | ||
sudo apt-get install texlive-fonts-recommended | ||
sudo apt-get install texlive-latex-extra | ||
sudo apt-get install texlive-full | ||
pip install -e .[memprof,mpi,test,docs] | ||
python -c "from armi.bookkeeping.report.reportingUtils import getSystemInfo;print(getSystemInfo())" > system_info.log | ||
date > python_details.log | ||
python --version >> python_details.log | ||
pip freeze >> python_details.log | ||
pytest --junit-xml=test_results.xml -v -n 4 armi > pytest_verbose.log | ||
cd doc | ||
git submodule init | ||
git submodule update | ||
echo "make html:" | ||
make html | ||
make simplepdf | ||
echo "make latex:" | ||
make latex | ||
cd _build/latex/ | ||
echo "latexmk -pdf -f -interaction=nonstopmode ARMI.tex:" | ||
latexmk -pdf -f -interaction=nonstopmode ARMI.tex | ||
- name: Deploy | ||
if: github.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
|
@@ -58,5 +74,5 @@ jobs: | |
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pdf-docs | ||
path: doc/_build/simplepdf/ARMI.pdf | ||
path: doc/_build/latex/ARMI.pdf | ||
retention-days: 5 |
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
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
Oops, something went wrong.