File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,19 @@ jobs:
1818 python-version : 3.6
1919 - name : Install dependencies
2020 run : |
21- sudo apt-get update
22- sudo apt-get install \
21+ sudo apt update
22+ sudo apt install \
2323 fontconfig \
2424 libgeos++-dev \
25- libproj-dev
25+ libproj-dev \
26+ poppler-utils
2627 python -m pip install --upgrade pip
2728 pip install -r requirements/requirements-base.txt
2829 pip install -r requirements/requirements.txt
2930 - name : Install Tex Live
3031 run : |
31- sudo apt-get update
32- sudo apt-get install \
32+ sudo apt update
33+ sudo apt install \
3334 texlive-base \
3435 texlive-extra-utils \
3536 texlive-fonts-extra \
4546 cp -r fonts/ /usr/share/fonts/
4647 fc-cache
4748 make figures cheatsheets handouts
49+ - name : Check layouts
50+ run : |
51+ set -x
52+ [[ "$(pdfinfo cheatsheets.pdf | grep Pages | awk '{print $2}')" == "2" ]] || exit 1
53+ [[ "$(pdfinfo handout-tips.pdf | grep Pages | awk '{print $2}')" == "1" ]] || exit 1
54+ [[ "$(pdfinfo handout-beginner.pdf | grep Pages | awk '{print $2}')" == "1" ]] || exit 1
55+ [[ "$(pdfinfo handout-intermediate.pdf | grep Pages | awk '{print $2}')" == "1" ]] || exit 1
4856 - uses : actions/upload-artifact@v2
57+ if : ${{ always() }}
4958 with :
5059 name : build
5160 path : |
You can’t perform that action at this time.
0 commit comments