-
Notifications
You must be signed in to change notification settings - Fork 24
/
.gitlab-ci.yml
39 lines (35 loc) · 1023 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.building: &building
script:
- $PYTHON_EXECUTABLE -m pip install setuptools wheel scikit-build ninja
- $PYTHON_EXECUTABLE -m pip install cmake!=3.16.3
- $PYTHON_EXECUTABLE -m pip install cython numpy
- $PYTHON_EXECUTABLE -m pip install .[dev]
- $PYTHON_EXECUTABLE -m pytest
build:gcc-python3:
<<: *building
image: registry.gitlab.com/mdavezac/pylada-light:python3-gcc
variables:
CC: gcc
CXX: g++
PYTHON_EXECUTABLE: /usr/bin/python3
build:llvm-python3:
<<: *building
image: registry.gitlab.com/mdavezac/pylada-light:python3-clang
variables:
CC: clang
CXX: clang++
PYTHON_EXECUTABLE: /usr/bin/python3
build:gcc-python2:
<<: *building
image: registry.gitlab.com/mdavezac/pylada-light:python2-gcc
variables:
CC: gcc
CXX: g++
PYTHON_EXECUTABLE: /usr/bin/python2
build:llvm-python2:
<<: *building
image: registry.gitlab.com/mdavezac/pylada-light:python2-clang
variables:
CC: clang
CXX: clang++
PYTHON_EXECUTABLE: /usr/bin/python2