9090 fail-fast : false
9191 matrix :
9292 version : [3.14, 3.13, 3.12, 3.11, '3.10', 3.9]
93- format : [html, latex , epub]
93+ format : [html, dist-pdf , epub]
9494 needs : ['update']
9595 steps :
9696 - uses : actions/setup-python@master
@@ -109,6 +109,10 @@ jobs:
109109 - run : git pull
110110 working-directory : ./Doc/locales/pl/LC_MESSAGES
111111 -
uses :
sphinx-doc/[email protected] 112+ - run : sudo apt-get update
113+ if : matrix.format == 'dist-pdf'
114+ - run : sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
115+ if : matrix.format == 'dist-pdf'
112116 - run : make -e SPHINXOPTS="--color -D language='pl' -W --keep-going" ${{ matrix.format }}
113117 working-directory : ./Doc
114118 - uses : actions/upload-artifact@master
@@ -117,24 +121,6 @@ jobs:
117121 name : build-${{ matrix.version }}-${{ matrix.format }}
118122 path : Doc/build/${{ matrix.format }}
119123
120- output-pdf :
121- runs-on : ubuntu-latest
122- strategy :
123- matrix :
124- version : [3.14, 3.13, 3.12, 3.11, '3.10', 3.9]
125- needs : ['build']
126- steps :
127- - uses : actions/download-artifact@master
128- with :
129- name : build-${{ matrix.version }}-latex
130- - run : sudo apt-get update
131- - run : sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
132- - run : make
133- - uses : actions/upload-artifact@master
134- with :
135- name : build-${{ matrix.version }}-pdf
136- path : .
137-
138124 lint-epub :
139125 runs-on : ubuntu-latest
140126 strategy :
0 commit comments