We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a61c4f4 commit 88c569eCopy full SHA for 88c569e
1 file changed
Jenkinsfile
@@ -19,6 +19,10 @@ pipeline
19
steps
20
{
21
sh '''
22
+ python3 -m venv venv/
23
+ source venv/bin/activate
24
+ pip3 install numpy pandas cython setuptools twine cibuildwheel
25
+
26
git clone https://github.com/mlpack/mlpack
27
cd mlpack/
28
git checkout $MLPACK_VERSION
@@ -124,6 +128,7 @@ pipeline
124
128
125
129
126
130
echo "CIBW_BUILD: $CIBW_BUILD"
131
127
132
cibuildwheel --output-dir wheelhouse mlpack/build/src/mlpack/bindings/python/
133
'''
134
}
@@ -135,6 +140,7 @@ pipeline
135
140
archiveArtifacts 'wheelhouse/*.whl'
136
141
137
142
143
138
144
echo "[pypi]" > ~/.pypirc
139
145
echo "username = __token__" >> ~/.pypirc
146
echo "password = $TWINE_PYPI_TOKEN" >> ~/.pypirc
0 commit comments