.gitlab-ci.yml 1.82 KB
Newer Older
Thomas Vincent's avatar
Thomas Vincent committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include:
  - remote: 'https://gitlab.esrf.fr/silx/bob/main/raw/master/job-templates.yml'


stages:
  - build_source
  - build
  - test
  - deploy


variables:
  PROJECT: hdf5plugin
  REPOSITORY: https://github.com/silx-kit/hdf5plugin
  MANYLINUX_PYTHON_VER: cp37-cp37m


source:
  extends: .source_build


Thomas Vincent's avatar
Thomas Vincent committed
22
23
manylinux2010_wheels:
  extends: .manylinux2010_wheels
Thomas Vincent's avatar
Thomas Vincent committed
24
25
26
27

windows_wheel_python27:
  extends: .windows_wheel_python27

28
windows_wheel_python3:
Thomas Vincent's avatar
Thomas Vincent committed
29
30
  extends: .windows_wheel_python37

31
macos_wheel:
Thomas Vincent's avatar
Thomas Vincent committed
32
33
34
35
36
37
38
39
40
  extends: .macos_wheel_python37


# Test

.test_template: &test_template_defintion
  stage: test
  script:
    - pip install --pre --find-links artifacts/ --only-binary hdf5plugin hdf5plugin
41
    - python -c "import hdf5plugin.test, sys; sys.exit(hdf5plugin.test.run_tests());"
Thomas Vincent's avatar
Thomas Vincent committed
42
43


Thomas Vincent's avatar
Thomas Vincent committed
44
45
46
47
48
windows_test_python27:
  <<: *test_template_defintion
  extends: .windows_base_python27
  dependencies:
    - windows_wheel_python27
49
50
51
52
53
54

windows_test_python36:
  <<: *test_template_defintion
  extends: .windows_base_python36
  dependencies:
    - windows_wheel_python3
Thomas Vincent's avatar
Thomas Vincent committed
55

Thomas Vincent's avatar
Thomas Vincent committed
56
57
58
59
windows_test_python37:
  <<: *test_template_defintion
  extends: .windows_base_python37
  dependencies:
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
    - windows_wheel_python3


macos_test_python36:
  <<: *test_template_defintion
  extends: .macos_base_python36
  dependencies:
    - macos_wheel

macos_test_python37:
  <<: *test_template_defintion
  extends: .macos_base_python37
  dependencies:
    - macos_wheel
    

manylinux2010_test_cp27:
  <<: *test_template_defintion
  extends: .manylinux2010_cp27_base
  dependencies:
    - manylinux2010_wheels

manylinux2010_test_cp36:
  <<: *test_template_defintion
  extends: .manylinux2010_cp36_base
  dependencies:
    - manylinux2010_wheels
Thomas Vincent's avatar
Thomas Vincent committed
87

Thomas Vincent's avatar
Thomas Vincent committed
88
manylinux2010_test_cp37:
Thomas Vincent's avatar
Thomas Vincent committed
89
  <<: *test_template_defintion
Thomas Vincent's avatar
Thomas Vincent committed
90
  extends: .manylinux2010_cp37_base
Thomas Vincent's avatar
Thomas Vincent committed
91
  dependencies:
Thomas Vincent's avatar
Thomas Vincent committed
92
    - manylinux2010_wheels
Thomas Vincent's avatar
Thomas Vincent committed
93
94
95
96
97
98


# Deploy

pages:
  extends: .pages