@@ -28,34 +28,32 @@ stages:
28
28
29
29
- stage : ComprehensiveTests
30
30
jobs :
31
- - job : Linux_Python_36_32bit_full_with_asserts
31
+ - job : Linux_Python_38_32bit_full_with_asserts
32
32
pool :
33
- vmImage : ' ubuntu-16 .04'
33
+ vmImage : ' ubuntu-18 .04'
34
34
steps :
35
35
- script : |
36
- docker pull i386/ubuntu:bionic
37
- docker run -v $(pwd):/numpy i386/ubuntu:bionic /bin/bash -c "cd numpy && \
38
- apt-get -y update && \
39
- apt-get -y install python3.6-dev python3-pip locales python3-certifi && \
40
- locale-gen fr_FR && update-locale && \
41
- apt-get -y install gfortran-5 wget && \
36
+ docker pull quay.io/pypa/manylinux2010_i686
37
+ docker run -v $(pwd):/numpy -e CFLAGS="-msse2 -std=c99 -UNDEBUG" \
38
+ -e F77=gfortran-5 -e F90=gfortran-5 quay.io/pypa/manylinux2010_i686 \
39
+ /bin/bash -xc "cd numpy && \
40
+ /opt/python/cp38-cp38/bin/python -mvenv venv && \
41
+ source venv/bin/activate && \
42
42
target=\$(python3 tools/openblas_support.py) && \
43
- ls -lR \$target && \
44
43
cp -r \$target/lib/* /usr/lib && \
45
44
cp \$target/include/* /usr/include && \
46
- python3 -m pip install --user --upgrade pip setuptools && \
47
- python3 -m pip install --user -r test_requirements.txt && \
48
- python3 -m pip install . && \
49
- F77=gfortran-5 F90=gfortran-5 \
50
- CFLAGS=-UNDEBUG python3 runtests.py -n --debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml && \
45
+ python3 -m pip install -r test_requirements.txt && \
46
+ echo CFLAGS \$CFLAGS && \
47
+ python3 -m pip install -v . && \
48
+ python3 runtests.py -n --debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml && \
51
49
python3 tools/openblas_support.py --check_version $(OpenBLAS_version)"
52
- displayName: 'Run 32-bit Ubuntu Docker Build / Tests'
50
+ displayName: 'Run 32-bit multilinux2010 Docker Build / Tests'
53
51
- task : PublishTestResults@2
54
52
condition : succeededOrFailed()
55
53
inputs :
56
54
testResultsFiles : ' **/test-*.xml'
57
55
failTaskOnFailedTests : true
58
- testRunTitle : ' Publish test results for Python 3.6 -32 bit full Linux'
56
+ testRunTitle : ' Publish test results for Python 3.8 -32 bit full Linux'
59
57
- job : macOS
60
58
pool :
61
59
# NOTE: at time of writing, there is a danger
0 commit comments