-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (33 loc) · 1.25 KB
/
compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
pip install numpy==1.26.4
- name: Check out git repository
uses: actions/checkout@v4
- 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@v4
with:
name: dual-problems
path: dual-problems.pdf