.gitlab-ci.yml 3.64 KB
Newer Older
1
job_gcc_386:
Tiago Peixoto's avatar
Tiago Peixoto committed
2 3
  script:
    - ./autogen.sh
Tiago Peixoto's avatar
Tiago Peixoto committed
4
    - ./configure CXX="ccache g++" PYTHON=python3 --with-boost-python=py34 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --with-boost-coroutine=boost_coroutine
5
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
6 7
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
8
    - cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build centrality.rst clustering.rst collection.rst community.rst correlations.rst draw.rst faq.rst flow.rst generation.rst graph_tool.rst gt_format.rst index.rst modules.rst quickstart.rst spectral.rst stats.rst topology.rst util.rst
9 10
  tags:
    - i386
Tiago Peixoto's avatar
Tiago Peixoto committed
11

12
job_gcc_py2_386:
Tiago Peixoto's avatar
Tiago Peixoto committed
13 14
  script:
    - ./autogen.sh
Tiago Peixoto's avatar
Tiago Peixoto committed
15
    - ./configure CXX="ccache g++" PYTHON=python2  --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --with-boost-coroutine=boost_coroutine
16
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
17 18
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
19
    - cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build -b doctest . build centrality.rst clustering.rst collection.rst community.rst correlations.rst draw.rst faq.rst flow.rst generation.rst graph_tool.rst gt_format.rst index.rst modules.rst quickstart.rst spectral.rst stats.rst topology.rst util.rst
20 21
  tags:
    - i386
Tiago Peixoto's avatar
Tiago Peixoto committed
22

23 24 25 26
job_gcc_amd64:
  script:
    - ./autogen.sh
    - ./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
27
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
28 29 30 31 32 33 34 35 36 37
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
    - cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst
  tags:
    - amd64

job_clang_amd64:
  script:
    - ./autogen.sh
    - ./configure CXX="ccache clang++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
38
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
39 40 41 42 43 44 45 46 47 48
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
    - cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst
  tags:
    - amd64

job_gcc_py2_amd64:
  script:
    - ./autogen.sh
    - ./configure CXX="ccache g++" PYTHON=python2 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
49
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
50 51
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
52
    - cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build2 -b doctest . build *.rst
53 54 55 56 57 58 59
  tags:
    - amd64

job_clang_py2_amd64:
  script:
    - ./autogen.sh
    - ./configure CXX="ccache clang++" PYTHON=python2 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
60
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
61
    - make install
Tiago Peixoto's avatar
Tiago Peixoto committed
62
    - export PYTHONPATH=$PWD/install/site-packages
63
    - cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build2 -b doctest . build *.rst
64 65
  tags:
    - amd64
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87

job_gcc_amd64_nosh:
  script:
    - ./autogen.sh
    - ./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --disable-sparsehash
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
    - cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst
  tags:
    - amd64

job_clang_amd64_nosh:
  script:
    - ./autogen.sh
    - ./configure CXX="ccache clang++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages  --disable-sparsehash
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
    - cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst
  tags:
    - amd64