File: .azure_pipeline.yml

package info (click to toggle)
python-threadpoolctl 2.1.0-1~bpo10%2B1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 256 kB
  • sloc: python: 905; sh: 127; makefile: 4
file content (157 lines) | stat: -rw-r--r-- 5,162 bytes parent folder | download | duplicates (2)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# Adapted from https://github.com/pandas-dev/pandas/blob/master/azure-pipelines.yml

# Global variables for all jobs
variables:
  VIRTUALENV: 'testvenv'
  JUNITXML: 'test-data.xml'
  CODECOV_TOKEN: 'cee0e505-c12e-4139-aa43-621fb16a2347'

stages:
- stage:
  jobs:

  - template: continuous_integration/windows.yml
    parameters:
      name: Windows
      vmImage: vs2017-win2016
      matrix:
        pylatest_conda:
          VERSION_PYTHON: '*'
          PACKAGER: 'conda'
        py36_conda:
          VERSION_PYTHON: '3.6'
          PACKAGER: 'conda'
        py35_pip:
          VERSION_PYTHON: '3.5'
          PACKAGER: 'pip'


  - template: continuous_integration/posix.yml
    parameters:
      name: Linux
      vmImage: ubuntu-16.04
      matrix:
        # Linux environment to test that packages that comes with Ubuntu Xenial
        # 16.04 are correctly handled.
        py35_ubuntu_atlas_gcc_gcc:
          PACKAGER: 'ubuntu'
          APT_BLAS: 'libatlas3-base libatlas-base-dev libatlas-dev'
          VERSION_PYTHON: '3.5'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'gcc'
          LINT: 'true'
        py35_ubuntu_openblas_gcc_gcc:
          PACKAGER: 'ubuntu'
          APT_BLAS: 'libopenblas-base libopenblas-dev'
          VERSION_PYTHON: '3.5'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'gcc'
        # Linux + Python 3.6 and homogeneous runtime nesting.
        py36_conda_openblas_clang_clang:
          PACKAGER: 'conda'
          VERSION_PYTHON: '3.6'
          BLAS: 'openblas'
          CC_OUTER_LOOP: 'clang-8'
          CC_INNER_LOOP: 'clang-8'
        # Linux environment with MKL and Clang (known to be unsafe for
        # threadpoolctl) to only test the warning from multiple OpenMP.
        pylatest_conda_mkl_clang_gcc:
          PACKAGER: 'conda'
          VERSION_PYTHON: '*'
          BLAS: 'mkl'
          CC_OUTER_LOOP: 'clang-8'
          CC_INNER_LOOP: 'gcc'
          TESTS: 'libomp_libiomp_warning'
        # Linux environment with MKL, safe for threadpoolctl.
        pylatest_conda_mkl_gcc_gcc:
          PACKAGER: 'conda'
          VERSION_PYTHON: '*'
          BLAS: 'mkl'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'gcc'
          MKL_THREADING_LAYER: 'INTEL'
        # Linux + Python 3.7 with numpy / scipy installed with pip from PyPI
        # and heterogeneous OpenMP runtimes.
        py37_pip_openblas_gcc_clang:
          PACKAGER: 'pip'
          VERSION_PYTHON: '3.7'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'clang-8'
        # Linux environment with numpy from conda-forge channel
        pylatest_conda_forge:
          PACKAGER: 'conda-forge'
          VERSION_PYTHON: '*'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'gcc'
        # Linux environment with no numpy and heterogeneous OpenMP runtimes.
        pylatest_conda_nonumpy_gcc_clang:
          PACKAGER: 'conda'
          NO_NUMPY: 'true'
          VERSION_PYTHON: '*'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'clang-8'
        # Linux environment with numpy linked to BLIS
        pylatest_blis_gcc_clang_openmp:
          PACKAGER: 'conda'
          VERSION_PYTHON: '*'
          INSTALL_BLIS: 'true'
          BLIS_NUM_THREADS: '4'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'gcc'
          BLIS_CC: 'clang-8'
          BLIS_ENABLE_THREADING: 'openmp'
        pylatest_blis_clang_gcc_pthreads:
          PACKAGER: 'conda'
          VERSION_PYTHON: '*'
          INSTALL_BLIS: 'true'
          BLIS_NUM_THREADS: '4'
          CC_OUTER_LOOP: 'clang-8'
          CC_INNER_LOOP: 'clang-8'
          BLIS_CC: 'gcc-8'
          BLIS_ENABLE_THREADING: 'pthreads'
        pylatest_blis_no_threading:
          PACKAGER: 'conda'
          VERSION_PYTHON: '*'
          INSTALL_BLIS: 'true'
          BLIS_NUM_THREADS: '1'
          CC_OUTER_LOOP: 'gcc'
          CC_INNER_LOOP: 'gcc'
          BLIS_CC: 'gcc-8'
          BLIS_ENABLE_THREADING: 'no'

  - template: continuous_integration/posix.yml
    parameters:
      name: macOS
      vmImage: xcode9-macos10.13
      matrix:
        # MacOS environment with OpenMP installed through homebrew
        py35_conda_homebrew_libomp:
          PACKAGER: 'conda'
          VERSION_PYTHON: '3.5'
          BLAS: 'mkl'
          CC_OUTER_LOOP: 'clang'
          CC_INNER_LOOP: 'clang'
          INSTALL_LIBOMP: 'homebrew'
        # MacOS environment with OpenMP installed through conda-forge compilers
        pylatest_conda_conda_forge_clang:
          PACKAGER: 'conda'
          VERSION_PYTHON: '*'
          BLAS: 'mkl'
          CC_OUTER_LOOP: 'clang'
          CC_INNER_LOOP: 'clang'
          INSTALL_LIBOMP: 'conda-forge'

- stage:
  jobs:
  # Meta-test to ensure that at least of the above CI configurations had
  # the necessary platform settings to execute each test without raising
  # skipping.
  - job: 'no_test_always_skipped'
    displayName: 'No test always skipped'
    pool:
      vmImage: ubuntu-16.04
    steps:
      - download: current
      - script: |
          python continuous_integration/check_no_test_skipped.py $(Pipeline.Workspace)
        displayName: 'No test always skipped'