.gitlab-ci.yml 2.35 KB
Newer Older
1 2 3 4
job_gcc_amd64:
  script:
    - ./autogen.sh
    - ./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 8 9 10 11 12 13 14 15
    - 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
16
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
17 18 19 20 21 22 23 24 25 26
    - 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
27
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
28 29
    - make install
    - export PYTHONPATH=$PWD/install/site-packages
30
    - cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build2 -b doctest . build *.rst
31 32 33 34 35 36 37
  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
38
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
39
    - make install
Tiago Peixoto's avatar
Tiago Peixoto committed
40
    - export PYTHONPATH=$PWD/install/site-packages
41
    - cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build2 -b doctest . build *.rst
42 43
  tags:
    - amd64
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

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