Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cache and publish workflows
  • Loading branch information
mmcky committed Jul 1, 2023
commit 55d296b88b3c6189b9a6327ee45d2e498b72f563
13 changes: 0 additions & 13 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,6 @@ jobs:
python-version: "3.10"
environment-file: environment.yml
activate-environment: quantecon
# - name: Install latex dependencies
# run: |
# sudo apt-get -qq update
# sudo apt-get install -y \
# texlive-latex-recommended \
# texlive-latex-extra \
# texlive-fonts-recommended \
# texlive-fonts-extra \
# texlive-xetex \
# latexmk \
# xindy \
# dvipng \
# cm-super
- name: Build HTML
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: "3.10"
environment-file: environment.yml
activate-environment: quantecon
- name: Graphics Support
- name: Graphics Support #TODO: Review if graphviz is needed
run: |
sudo apt-get -qq update && sudo apt-get install -y graphviz
- name: Install latex dependencies
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
python-version: "3.10"
environment-file: environment.yml
activate-environment: quantecon
# - name: Install latex dependencies
# run: |
# sudo apt-get -qq update
# sudo apt-get install -y \
# texlive-latex-recommended \
# texlive-latex-extra \
# texlive-fonts-recommended \
# texlive-fonts-extra \
# texlive-xetex \
# latexmk \
# xindy \
# dvipng \
# cm-super
- name: Install latex dependencies
run: |
sudo apt-get -qq update
sudo apt-get install -y \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-xetex \
latexmk \
xindy \
dvipng \
cm-super
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
Expand All @@ -46,15 +46,15 @@ jobs:
name: build-cache
path: _build
# Build Assets (Download Notebooks and PDF via LaTeX)
# - name: Build PDF from LaTeX
# shell: bash -l {0}
# run: |
# jb build lectures --builder pdflatex --path-output ./ -n --keep-going
# - name: Copy LaTeX PDF for GH-PAGES
# shell: bash -l {0}
# run: |
# mkdir -p _build/html/_pdf
# cp -u _build/latex/*.pdf _build/html/_pdf
- name: Build PDF from LaTeX
shell: bash -l {0}
run: |
jb build lectures --builder pdflatex --path-output ./ -n --keep-going
- name: Copy LaTeX PDF for GH-PAGES
shell: bash -l {0}
run: |
mkdir -p _build/html/_pdf
cp -u _build/latex/*.pdf _build/html/_pdf
- name: Build Download Notebooks (sphinx-tojupyter)
shell: bash -l {0}
run: |
Expand Down