@@ -37,26 +37,14 @@ steps: |
37 | 37 |
|
38 | 38 | - powershell: | |
39 | 39 | ls openblas |
40 | | - If ($(BITS) -eq 32) { |
41 | | - $env:CFLAGS = "-m32" |
42 | | - $env:LDFLAGS = "-m32" |
43 | | - $env:PATH = "$env:RTOOLS40_HOME\\mingw32\\bin;$env:PATH" |
44 | | - } |
45 | | - Else |
46 | | - { |
47 | | - $env:PATH = "$env:RTOOLS40_HOME\\mingw64\\bin;$env:PATH" |
48 | | - } |
| 40 | + $env:PATH = "$env:RTOOLS40_HOME\\mingw64\\bin;$env:PATH" |
49 | 41 | If ( Test-Path env:NPY_USE_BLAS_ILP64 ) { |
50 | 42 | $env:OPENBLAS64_ = "openblas" |
51 | 43 | } else { |
52 | 44 | $env:OPENBLAS = "openblas" |
53 | 45 | } |
54 | 46 | python -c "from tools import openblas_support; openblas_support.make_init('numpy')" |
55 | | - python -m pip wheel -v -v -v --no-build-isolation --no-use-pep517 --wheel-dir=dist . |
56 | | -
|
57 | | - ls dist -r | Foreach-Object { |
58 | | - python -m pip install $_.FullName |
59 | | - } |
| 47 | + python -m pip install . |
60 | 48 | displayName: 'Build NumPy' |
61 | 49 |
|
62 | 50 | - script: | |
@@ -65,16 +53,12 @@ steps: |
65 | 53 | displayName: 'Check OpenBLAS version' |
66 | 54 |
|
67 | 55 | - powershell: | |
68 | | - If ($(BITS) -eq 32) { |
69 | | - $env:CFLAGS = "-m32" |
70 | | - $env:LDFLAGS = "-m32" |
71 | | - $env:PATH = "$env:RTOOLS40_HOME\\mingw32\\bin;$env:PATH" |
72 | | - } |
73 | | - Else |
74 | | - { |
75 | | - $env:PATH = "$env:RTOOLS40_HOME\\mingw64\\bin;$env:PATH" |
| 56 | + $env:PATH = "$env:RTOOLS40_HOME\\mingw64\\bin;$env:PATH" |
| 57 | + If ( Test-Path env:TEST_MODE -eq full ) { |
| 58 | + pytest --pyargs numpy -rsx --junitxml=junit/test-results.xml |
| 59 | + } else { |
| 60 | + pytest --pyargs numpy -m "not slow" -rsx --junitxml=junit/test-results.xml |
76 | 61 | } |
77 | | - python runtests.py -n --show-build-log --mode=$(TEST_MODE) -- -rsx --junitxml=junit/test-results.xml |
78 | 62 | displayName: 'Run NumPy Test Suite' |
79 | 63 |
|
80 | 64 | - task: PublishTestResults@2 |
|