diff options
author | mattip <matti.picus@gmail.com> | 2020-11-02 10:25:54 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-11-02 10:25:54 +0200 |
commit | cefad82eaf08b9d905a710a751cc445df6b2a8e7 (patch) | |
tree | adb3c2fa5ae8686995e22952285576d6a6d4dde7 /azure-pipelines.yml | |
parent | 9bc70e740253b4314ccce42bcd29c8f24875d704 (diff) | |
download | numpy-cefad82eaf08b9d905a710a751cc445df6b2a8e7.tar.gz |
TST: use a more standard workflow for PyPy
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7a8196dce..02b305ada 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -235,8 +235,28 @@ stages: pool: vmIMage: 'ubuntu-18.04' steps: - - script: source tools/pypy-test.sh - displayName: 'Run PyPy3 Build / Tests' + - task: UsePythonVersion@0 + inputs: + versionSpec: pypy3 + - script: | + python -c "import sys; print(sys.version)" + python -m pip install --upgrade "setuptools<49.2.0" + python -m pip install urllib3 + basedir = $(python numpy/tools/openblas_support.py) + cp -r $basedir/lib/* /usr/local/lib + cp $basedir/include/* /usr/local/include + displayName: 'Get OpenBLAS' + - script: | + python setup.py build_src --verbose-cfg bdist_wheel + pushd dist + python -mpip install ./numpy* + python ../tools/openblas_support.py --check_version + popd + displayName: 'Build, check OpenBLAS version' + - script: | + python runtests.py --debug-info --show-build-log -v -- -rsx \ + --junitxml=junit/test-results.xml --durations 10 + displayName: 'Test' - task: PublishTestResults@2 condition: succeededOrFailed() inputs: |