.gitlab-ci.yml 2.34 KB
Newer Older
1 2 3
job_gcc_amd64:
  script:
    - ./autogen.sh
Tiago Peixoto's avatar
Tiago Peixoto committed
4
    - ./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
5
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
6 7
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
Tiago Peixoto's avatar
Tiago Peixoto committed
8
    - cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demos/inference/inference.rst
9 10 11 12 13 14
  tags:
    - amd64

job_clang_amd64:
  script:
    - ./autogen.sh
15
    - ./configure CXX="ccache clang++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
16
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
17 18
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
19
    - cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst
20 21 22
  tags:
    - amd64

23 24 25 26 27 28 29 30 31 32
# job_gcc_py2_amd64:
#   script:
#     - ./autogen.sh
#     - ./configure CXX="ccache g++" PYTHON=python2 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
#     - CCACHE_BASEDIR=$PWD make $MAKEOPTS
#     - make install
#     - export PYTHONPATH=$PWD/install/site-packages
#     - cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst demos/inference/inference.rst
#   tags:
#     - amd64
33

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

job_gcc_amd64_nosh:
  script:
    - ./autogen.sh
Tiago Peixoto's avatar
Tiago Peixoto committed
48
    - ./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --disable-sparsehash
49 50 51
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
52
    - cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst
53 54 55 56 57 58
  tags:
    - amd64

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