-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
151 lines (148 loc) · 4.63 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
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
jobs:
- job: macos
strategy:
matrix:
cp38-macosx_x86_64:
CIBW_BUILD: cp38-macosx_x86_64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "x86_64"
cp38-macosx_arm64:
CIBW_BUILD: cp38-macosx_arm64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "arm64"
cp39-macosx_x86_64:
CIBW_BUILD: cp39-macosx_x86_64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "x86_64"
cp39-macosx_arm64:
CIBW_BUILD: cp39-macosx_arm64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "arm64"
cp310-macosx_x86_64:
CIBW_BUILD: cp310-macosx_x86_64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "x86_64"
cp310-macosx_arm64:
CIBW_BUILD: cp310-macosx_arm64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "arm64"
cp311-macosx_x86_64:
CIBW_BUILD: cp311-macosx_x86_64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "x86_64"
cp311-macosx_arm64:
CIBW_BUILD: cp311-macosx_arm64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "arm64"
cp312-macosx_x86_64:
CIBW_BUILD: cp312-macosx_x86_64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "x86_64"
cp312-macosx_arm64:
CIBW_BUILD: cp312-macosx_arm64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "arm64"
cp313-macosx_x86_64:
CIBW_BUILD: cp313-macosx_x86_64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "x86_64"
cp313-macosx_arm64:
CIBW_BUILD: cp313-macosx_arm64
BUILD_SCRIPT: build_mlpack.osx.sh
CIBW_ARCHS_MACOS: "arm64"
timeoutInMinutes: 0 # No limit for build time.
pool: {vmImage: 'macOS-14'}
variables:
MLPACK_VERSION: 4.5.1
CIBW_TEST_COMMAND: python -c 'import mlpack; import numpy as np; x = np.random.rand(100, 10); o = mlpack.pca(input_=x, new_dimensionality=5, verbose=True)'
# The PYPI_TOKEN variable is automatically set by Azure Pipelines.
TWINE_PYPI_TOKEN: $(PYPI_TOKEN)
steps:
- template: azure-pipelines-macos-steps.yml
- job: windows
strategy:
matrix:
cp38-win_amd64:
CIBW_BUILD: cp38-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
cp38-win32:
CIBW_BUILD: cp38-win32
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "Win32"
OPENBLAS_ARCH: "x86"
PANDAS_VER: 2.0.3
cp39-win_amd64:
CIBW_BUILD: cp39-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
cp39-win32:
CIBW_BUILD: cp39-win32
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "Win32"
OPENBLAS_ARCH: "x86"
PANDAS_VER: 2.0.3
cp310-win_amd64:
CIBW_BUILD: cp310-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
cp310-win32:
CIBW_BUILD: cp310-win32
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "Win32"
OPENBLAS_ARCH: "x86"
PANDAS_VER: 2.0.3
cp311-win_amd64:
CIBW_BUILD: cp311-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
cp311-win32:
CIBW_BUILD: cp311-win32
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "Win32"
OPENBLAS_ARCH: "x86"
PANDAS_VER: 2.0.3
cp312-win_amd64:
CIBW_BUILD: cp312-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
cp312-win32:
CIBW_BUILD: cp312-win32
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "Win32"
OPENBLAS_ARCH: "x86"
PANDAS_VER: 2.0.3
cp313-win_amd64:
CIBW_BUILD: cp313-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
cp313-win32:
CIBW_BUILD: cp313-win32
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "Win32"
OPENBLAS_ARCH: "x86"
PANDAS_VER: 2.0.3
pp38-win_amd64:
CIBW_BUILD: pp38-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
pp39-win_amd64:
CIBW_BUILD: pp39-win_amd64
BUILD_SCRIPT: build_mlpack.bat
WIN_ARCH: "x64"
OPENBLAS_ARCH: "x64"
timeoutInMinutes: 0 # No limit for build time.
pool: {vmImage: 'windows-2019'}
variables:
MLPACK_VERSION: 4.5.1
# The PYPI_TOKEN variable is automatically set by Azure Pipelines.
TWINE_PYPI_TOKEN: $(PYPI_TOKEN)
steps:
- template: azure-pipelines-windows-steps.yml