File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+ - master
6
+
7
+ name : Make Sphinx API Docs
8
+
9
+ jobs :
10
+ mkdocs :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Build CPP Core
15
+ run : |
16
+ git clone https://github.com/symengine/symengine symengine-cpp
17
+ cd symengine-cpp
18
+ export SOURCE_DIR=`pwd`
19
+ git checkout `cat ../symengine_version.txt`
20
+ cd $SOURCE_DIR
21
+ source bin/install_travis.sh
22
+ cd $SOURCE_DIR
23
+ bin/test_travis.sh
24
+ env :
25
+ WITH_MPC : yes
26
+ WITH_MPFR : yes
27
+ WITH_FLINT : yes
28
+ WITH_SCIPY : yes
29
+ WITH_DOCS : yes
30
+ INTEGER_CLASS : flint
31
+ TEST_CPP : no
32
+ TEST_SYMPY : yes
33
+ MAKEFLAGS : -j2
34
+ our_install_dir : $HOME/our_usr/
35
+ - uses : s-weigand/setup-conda@v1
36
+ - name : Build Bindings and Docs
37
+ run : |
38
+ export PYTHON_SOURCE_DIR=$GITHUB_WORKSPACE
39
+ cd $PYTHON_SOURCE_DIR
40
+ source bin/install_travis.sh
41
+ bin/test_travis.sh
42
+ pip install sphinx-autobuild m2r2 sphinxcontrib-apidoc sphinx-book-theme
43
+ sphinx-build docs/ genDocs/
44
+ env :
45
+ WITH_MPC : yes
46
+ WITH_MPFR : yes
47
+ WITH_FLINT : yes
48
+ WITH_SCIPY : yes
49
+ WITH_DOCS : yes
50
+ INTEGER_CLASS : flint
51
+ TEST_CPP : no
52
+ TEST_SYMPY : yes
53
+ MAKEFLAGS : -j2
54
+ our_install_dir : $HOME/our_usr/
55
+ - name : Deploy Documentation
56
+ uses : peaceiris/actions-gh-pages@v3
57
+ with :
58
+ github_token : ${{ secrets.GITHUB_TOKEN }}
59
+ publish_dir : ./genDocs
You can’t perform that action at this time.
0 commit comments