.gitlab-ci.yml 2.4 KB
Newer Older
1
2
3
job_gcc_amd64:
  script:
    - ./autogen.sh
4
    - ./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --enable-openmp
5
    - CCACHE_BASEDIR=$PWD make $MAKEOPTS
6
7
8
9
10
11
12
13
14
    - 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
Tiago Peixoto's avatar
Tiago Peixoto committed
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
19
20
21
22
23
24
25
    - 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
26
    - ./configure CXX="ccache g++" PYTHON=python2 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --enable-openmp
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
  tags:
    - amd64

job_clang_py2_amd64:
  script:
    - ./autogen.sh
Tiago Peixoto's avatar
Tiago Peixoto committed
37
    - ./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

job_gcc_amd64_nosh:
  script:
    - ./autogen.sh
48
    - ./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --enable-openmp --disable-sparsehash
49
50
51
52
53
54
55
56
57
58
    - 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
Tiago Peixoto's avatar
Tiago Peixoto committed
59
    - ./configure CXX="ccache clang++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages --disable-sparsehash
60
61
62
63
64
65
    - 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