File tree Expand file tree Collapse file tree 3 files changed +69
-39
lines changed
Expand file tree Collapse file tree 3 files changed +69
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on : [push,pull_request]
4+
5+ jobs :
6+ build-publish-pdf :
7+ runs-on : ubuntu-18.04
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Set up Python 3.7
13+ uses : actions/setup-python@v1
14+ with :
15+ python-version : 3.7
16+
17+ - name : Install build dependencies
18+ run : |
19+ sudo apt-get update && sudo apt-get install -y \
20+ apt-utils \
21+ build-essential \
22+ ccache \
23+ cmake \
24+ curl \
25+ git \
26+ ninja-build \
27+ python
28+ # Using --no-install-recommends greatly reduces the installed packages
29+ sudo apt-get install -y --no-install-recommends \
30+ texlive-latex-base \
31+ texlive-latex-extra
32+ sudo apt-get install -y \
33+ dvipng \
34+ ghostscript \
35+ locales \
36+ imagemagick \
37+ python \
38+ python-pygments \
39+ texlive-latex-recommended \
40+ tex4ht \
41+ texlive-fonts-recommended
42+ sudo echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
43+ sudo locale-gen
44+ sudo sed -i 's/none/read|write/' /etc/ImageMagick-6/policy.xml
45+ sudo apt-get clean
46+ - name : Set environmental variables
47+ run : |
48+ echo '::set-env name=LC_ALL::en_US.UTF-8'
49+ echo '::set-env name=LANG::en_US.UTF-8'
50+ echo '::set-env name=LANGUAGE::en_US.UTF-8'
51+
52+ - name : Build
53+ run : |
54+ mkdir build
55+ cd build
56+ cmake -GNinja -DCMAKE_BUILD_TYPE=MinSizeRel ..
57+ ninja
58+
59+ - name : Publish ITK Software Guide Book 1 artifact
60+ uses : actions/upload-artifact@v1
61+ with :
62+ name : ITKSoftwareGuide-Book1.pdf
63+ path : build/ITKSoftwareGuide-build/SoftwareGuide/Latex/ITKSoftwareGuide-Book1.pdf
64+
65+ - name : Publish ITK Software Guide Book 2 artifact
66+ uses : actions/upload-artifact@v1
67+ with :
68+ name : ITKSoftwareGuide-Book2.pdf
69+ path : build/ITKSoftwareGuide-build/SoftwareGuide/Latex/ITKSoftwareGuide-Book2.pdf
Original file line number Diff line number Diff line change 11ITK Software Guide
22==================
33
4- [ ![ Build Status] ( https://circleci.com/gh/InsightSoftwareConsortium/ITKSoftwareGuide.svg?style=shield )] ( https://circleci.com/gh/InsightSoftwareConsortium/ITKSoftwareGuide )
5-
64This [ ITK Software Guide] is the handbook for developing software with ITK.
75
86It is divided into two companion books.
You can’t perform that action at this time.
0 commit comments