FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-ru/.github/workflows/test-build.yml at main · python/python-docs-ru · GitHub
python
python-docs-ru
Repository navigation
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-ru
/
.github
/
workflows
/
test-build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
65 lines (62 loc) · 1.83 KB
Breadcrumbs
python-docs-ru
/
.github
/
workflows
/
test-build.yml
Copy path
File metadata and controls
65 lines (62 loc) · 1.83 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name
:
Test Build Workflow
on
:
schedule
:
-
cron
:
'
0 0 * * *
'
push
:
branches
:
-
'
*
'
workflow_dispatch
:
jobs
:
build-translation
:
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
version
:
[ '3.15' ]
format
:
[ html, latex, epub ]
steps
:
-
uses
:
actions/setup-python@master
with
:
python-version
:
3
-
uses
:
actions/checkout@master
with
:
repository
:
python/cpython
ref
:
${{ matrix.version }}
-
run
:
make venv
working-directory
:
./Doc
-
uses
:
actions/checkout@master
with
:
ref
:
${{ matrix.version }}
path
:
Doc/locales/ru/LC_MESSAGES
-
run
:
git pull
working-directory
:
./Doc/locales/ru/LC_MESSAGES
-
name
:
Install SVG converter for LaTeX build
if
:
matrix.format == 'latex'
run
:
|
sudo apt-get update
sudo apt-get install -y librsvg2-bin
-
uses
:
sphinx-doc/github-problem-matcher@v1.1
-
run
:
make -e SPHINXOPTS="--color -D language='ru' -W --keep-going" ${{ matrix.format }}
working-directory
:
./Doc
-
uses
:
actions/upload-artifact@master
if
:
success() || failure()
with
:
name
:
build-${{ matrix.version }}-${{ matrix.format }}
path
:
Doc/build/${{ matrix.format }}
output-pdf
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
version
:
[ '3.15' ]
needs
:
[ 'build-translation' ]
steps
:
-
uses
:
actions/download-artifact@master
with
:
name
:
build-${{ matrix.version }}-latex
-
run
:
sudo apt-get update
-
run
:
sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
-
run
:
make
-
uses
:
actions/upload-artifact@master
with
:
name
:
build-${{ matrix.version }}-pdf
path
:
./*.pdf
Back
|
FazBrowse Home
|
New Git URL