More corrections #224
Workflow file for this run
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
name: 'Compile and upload document' | |
on: [push] | |
jobs: | |
build_latex: | |
runs-on: self-hosted | |
steps: | |
- name: Activate Firedrake virtual environment | |
run: | | |
. /home/firedrake/firedrake/bin/activate | |
echo PATH=$PATH >> $GITHUB_ENV | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -yq patchelf texlive texlive-fonts-extra | |
pip install netCDF4 matplotlib-scalebar | |
pip install git+https://github.com/firedrakeproject/irksome.git@05e122041a2487b3c5b8946847397e2b81c81c1a | |
pip install git+https://github.com/icepack/Trilinos.git | |
pip install git+https://github.com/icepack/pyrol.git | |
pip install git+https://github.com/icepack/icepack.git | |
pip install git+https://github.com/icepack/icepack2.git | |
- name: Check out git repository | |
uses: actions/checkout@v3 | |
- name: Compile TeX document | |
env: | |
EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }} | |
EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }} | |
run: make | |
- name: Upload PDF file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dual-problems | |
path: dual-problems.pdf |