.gitlab-ci.yml 1.76 KB
Newer Older
Thomas Vincent's avatar
Thomas Vincent committed
1
2
3
include:
  - remote: 'https://gitlab.esrf.fr/silx/bob/main/raw/master/job-templates.yml'

Thomas Vincent's avatar
Thomas Vincent committed
4
5
6
7
8
9
stages:
  - build_source
  - build
  - test
  - deploy

Thomas Vincent's avatar
Thomas Vincent committed
10
11
12
13
variables:
  PROJECT: pyFAI
  REPOSITORY: https://github.com/silx-kit/pyFAI
  PYFAI_OPENCL: "False"
14
  EXTRA_SETUP_PY_CMD_OPTIONS: "build --no-cython --no-openmp"
Thomas Vincent's avatar
Thomas Vincent committed
15
16
17
18

source:
  extends: .source_build

19
20
21
22
23
24
manylinux1_wheels:
  extends: .manylinux1_wheels

manylinux2014_wheels:
  extends: .manylinux2014_wheels

25
26
27
manylinux2014_ppc64le_wheels:
  extends: .manylinux2014_ppc64le_wheels

Thomas Vincent's avatar
Thomas Vincent committed
28
29
30
31
32
33
34

windows_wheel_python36:
  extends: .windows_wheel_python36

windows_wheel_python37:
  extends: .windows_wheel_python37

35
36
windows_wheel_python38:
  extends: .windows_wheel_python38
Thomas Vincent's avatar
Thomas Vincent committed
37

38

Jerome Kieffer's avatar
Jerome Kieffer committed
39
40
# debian9:
#   extends: .debian9
41

42
43
44
45
46
debian10:
  extends: .debian10

ubuntu20.04:
  extends: .ubuntu_20_04
47
48
49

ubuntu20.04_ppc64le:
  extends: .ubuntu_20_04_ppc64le
Thomas Vincent's avatar
Thomas Vincent committed
50

Thomas Vincent's avatar
Thomas Vincent committed
51
52
53
54
55
56
macos_wheel_python36:
  extends: .macos_wheel_python36

macos_wheel_python37:
  extends: .macos_wheel_python37

57
58
macos_wheel_python38:
  extends: .macos_wheel_python38
Thomas Vincent's avatar
Thomas Vincent committed
59

Jerome Kieffer's avatar
Jerome Kieffer committed
60
61
62
macos_wheel_python39:
  extends: .macos_wheel_python39

Thomas Vincent's avatar
Thomas Vincent committed
63
64
65
66
67
68
69
70
71
72
73
# Test

.test_ppc64le_template: &test_ppc64le_template_defintion
  stage: test
  script:
    - pip install --pre --find-links artifacts/ --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ --only-binary numpy,h5py,fabio,matplotlib,scipy,numexpr,silx pyFAI
    - python -c "import pyFAI.test, sys; sys.exit(pyFAI.test.run_tests());"

manylinux2014_ppc64le_test_cp37:
  <<: *test_ppc64le_template_defintion
  extends: .manylinux2014_ppc64le_cp37_base
74
  needs: ["manylinux2014_ppc64le_wheels"]
Thomas Vincent's avatar
Thomas Vincent committed
75
76
77
78

manylinux2014_ppc64le_test_cp38:
  <<: *test_ppc64le_template_defintion
  extends: .manylinux2014_ppc64le_cp38_base
79
  needs: ["manylinux2014_ppc64le_wheels"]
Thomas Vincent's avatar
Thomas Vincent committed
80

Thomas Vincent's avatar
Thomas Vincent committed
81
82
83
# Deploy

pages:
Jerome Kieffer's avatar
Jerome Kieffer committed
84
  extends: .pages