-
Notifications
You must be signed in to change notification settings - Fork 20
/
azure-pipelines.yml
117 lines (107 loc) · 3.11 KB
/
azure-pipelines.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
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
variables:
CIBW_BUILD: cp38-*
CIBW_SKIP: "*-musl*"
CIBW_BEFORE_BUILD_LINUX: "yum -y install fftw-devel; git clean -xfd -e wheelhouse"
CIBW_BEFORE_BUILD_MACOS: "brew install fftw; git clean -xfd -e wheelhouse"
stages:
- stage: StageOneTests
displayName: Standard Tests
jobs:
- template: run-tox-env.yml
parameters:
libraries:
yum:
- openssl-devel
envs:
- linux: py37-simple-linux
name: py37_simple_linux_custom_name
- linux32: py37-simple-linux32
- linux32: py38-simple-linux32
- manylinux: py37-simple-linux
manylinux_image: manylinux2014_x86_64
- linux: py39-simple-linux
docker_image: python:3.9.0rc1-slim-buster
docker_python: /usr/local/bin/python
- macos: py37-simple-macos
- windows: py37-simple-windows
- macos: py39-compiler_macos_conda
- template: run-tox-env.yml
parameters:
mesaopengl: true
envs:
- macos: py37-opengl-macos
- windows: py37-opengl-windows
- template: run-tox-env.yml
parameters:
toxverspec: ==3.27.1
envs:
- linux: testtoxverspec
- template: run-tox-env.yml
parameters:
envs:
- linux: testtoxargs
toxargs: --notest
- template: run-tox-env.yml
parameters:
libraries:
apt:
- rolldice
envs:
- linux: global_libraries
- linux: env_libraries
libraries:
apt:
- bcal
- template: run-tox-env.yml
parameters:
cache_dirs:
- key: '"data_x" | "$(Build.BuildNumber)"'
path: cache_1
- key: '"data_y" | "$(Build.BuildNumber)"'
path: cache_2
envs:
- linux: py39-cache-a
- linux: py39-simple-linux
docker_image: python:3.9.0rc1-slim-buster
docker_python: /usr/local/bin/python
docker_cache: true
cache_dirs: []
- template: publish.yml
parameters:
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
artifact_project: azure-pipelines-templates
artifact_feed: testfeed
remove_local_scheme: true
libraries:
- libfftw3-dev
targets:
- wheels_linux
- wheels_macos
- wheels_cp3[78]-win_amd64
- wheels_cp37-manylinux_x86_64
- wheels_cp37-manylinux_aarch64
- sdist
- stage: StageTwoTests
displayName: Cache Verification Tests
condition: succeeded()
jobs:
- template: run-tox-env.yml
parameters:
cache_dirs:
- key: '"data_x" | "$(Build.BuildNumber)"'
path: cache_1
- key: '"data_y" | "$(Build.BuildNumber)"'
path: cache_2
envs:
- linux: py39-cache-b
cache_dirs:
- key: '"data_x" | "$(Build.BuildNumber)"'
path: cache_3
- key: '"data_z" | "$(Build.BuildNumber)"'
path: cache_1
# - template: publish.yml
# parameters:
# libraries:
# - libfftw3-dev
# targets:
# - wheels_universal