File tree Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,31 @@ stages:
235
235
pool :
236
236
vmIMage : ' ubuntu-18.04'
237
237
steps :
238
- - script : source tools/pypy-test.sh
239
- displayName : ' Run PyPy3 Build / Tests'
238
+ - task : UsePythonVersion@0
239
+ inputs :
240
+ versionSpec : pypy3
241
+ - script : |
242
+ python -c "import sys; print(sys.version)"
243
+ python -m pip install --upgrade "setuptools<49.2.0"
244
+ python -m pip install urllib3
245
+ python -m pip install -r test_requirements.txt
246
+ basedir=$(python ./tools/openblas_support.py)
247
+ sudo cp -r $basedir/lib/* /usr/local/lib
248
+ sudo cp $basedir/include/* /usr/local/include
249
+ sudo ldconfig /usr/local/lib
250
+ displayName: 'Get OpenBLAS'
251
+ - script : |
252
+ python setup.py build_src --verbose-cfg bdist_wheel
253
+ # do the rest in a subdirectory so 'import numpy' works
254
+ pushd dist
255
+ python -mpip install ./numpy*
256
+ python ../tools/openblas_support.py --check_version
257
+ popd
258
+ displayName: 'Build, check OpenBLAS version'
259
+ - script : |
260
+ python runtests.py --debug-info --show-build-log -v -- -rsx \
261
+ --junitxml=junit/test-results.xml --durations 10
262
+ displayName: 'Test'
240
263
- task : PublishTestResults@2
241
264
condition : succeededOrFailed()
242
265
inputs :
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ include_dirs = $target/lib:$LIB
28
28
runtime_library_dirs = $target /lib
29
29
EOF
30
30
31
- echo getting PyPy 3.6-v7.3.1
32
- wget -q https://downloads.python.org/pypy/pypy3.6-v7.3.1 -linux64.tar.bz2 -O pypy.tar.bz2
31
+ echo getting PyPy 3.6-v7.3.2
32
+ wget -q https://downloads.python.org/pypy/pypy3.6-v7.3.2 -linux64.tar.bz2 -O pypy.tar.bz2
33
33
mkdir -p pypy3
34
34
(cd pypy3; tar --strip-components=1 -xf ../pypy.tar.bz2)
35
35
pypy3/bin/pypy3 -mensurepip
You can’t perform that action at this time.
0 commit comments