Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 893ac0f

Browse files
committed
Unset DSK variables before tests
1 parent 0881a70 commit 893ac0f

File tree

2 files changed

+7
-75
lines changed

2 files changed

+7
-75
lines changed

azure-pipelines.yml

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -29,77 +29,3 @@ jobs:
2929
PYTHON_ARCH: 'x64'
3030
NPY_USE_BLAS_ILP64: 1
3131
BITS: 64
32-
py_3.9_32:
33-
PYTHON_VERSION: "3.9.x"
34-
PYTHON_ARCH: "x86"
35-
BITS: 32
36-
py_3.9_64:
37-
PYTHON_VERSION: "3.9.x"
38-
PYTHON_ARCH: 'x64'
39-
NPY_USE_BLAS_ILP64: 1
40-
BITS: 64
41-
py_3.10_64:
42-
PYTHON_VERSION: "3.10.x"
43-
PYTHON_ARCH: 'x64'
44-
NPY_USE_BLAS_ILP64: 1
45-
BITS: 64
46-
47-
- template: azure/posix.yml
48-
parameters:
49-
name: linux
50-
vmImage: ubuntu-18.04
51-
timeoutInMinutes: 90
52-
matrix:
53-
pypy_3.8_64:
54-
MB_PYTHON_VERSION: "pypy3.8-7.3.7"
55-
AZURE_PYTHON_VERSION: "3.8"
56-
MB_ML_VER: "2014"
57-
CONFIG_PATH: "config_ilp64.sh"
58-
DOCKER_TEST_IMAGE: "multibuild/xenial_{PLAT}"
59-
60-
py_3.8_64:
61-
MB_PYTHON_VERSION: "3.8"
62-
MB_ML_VER: "2014"
63-
CONFIG_PATH: "config_ilp64.sh"
64-
DOCKER_TEST_IMAGE: "multibuild/xenial_{PLAT}"
65-
66-
py_3.9_64:
67-
MB_PYTHON_VERSION: "3.9"
68-
MB_ML_VER: "2014"
69-
CONFIG_PATH: "config_ilp64.sh"
70-
DOCKER_TEST_IMAGE: "multibuild/xenial_{PLAT}"
71-
72-
py_3.10_64:
73-
MB_PYTHON_VERSION: "3.10"
74-
MB_ML_VER: "2014"
75-
CONFIG_PATH: "config_ilp64.sh"
76-
DOCKER_TEST_IMAGE: "multibuild/focal_{PLAT}"
77-
78-
- template: azure/posix.yml
79-
parameters:
80-
name: macOS
81-
vmImage: macOS-10.15
82-
timeoutInMinutes: 90
83-
matrix:
84-
py_3.8_64:
85-
MB_PYTHON_VERSION: "3.8"
86-
CONFIG_PATH: "config_ilp64.sh"
87-
py_3.9_64:
88-
MB_PYTHON_VERSION: "3.9"
89-
CONFIG_PATH: "config_ilp64.sh"
90-
py_3.10_64:
91-
MB_PYTHON_VERSION: "3.10"
92-
CONFIG_PATH: "config_ilp64.sh"
93-
94-
py_3.8_universal2:
95-
MB_PYTHON_VERSION: "3.8"
96-
PLAT: universal2
97-
CONFIG_PATH: "config_ilp64.sh"
98-
py_3.9_universal2:
99-
MB_PYTHON_VERSION: "3.9"
100-
PLAT: universal2
101-
CONFIG_PATH: "config_ilp64.sh"
102-
py_3.10_universal2:
103-
MB_PYTHON_VERSION: "3.10"
104-
PLAT: universal2
105-
CONFIG_PATH: "config_ilp64.sh"

azure/windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
python -c "import struct; print(struct.calcsize('P') * 8)"
6262
python -m pip --version
6363
displayName: Check that we have the expected version and architecture for Python
64+
6465
- bash: |
6566
set -e
6667
if [ "$BUILD_REASON" == "Schedule" ]; then
@@ -123,12 +124,17 @@ jobs:
123124
}
124125
# Build the wheel
125126
pushd numpy
126-
python setup.py build
127+
echo "SDK setting: $env:DISTUTILS_USE_SDK"
128+
get-command cl
129+
python setup.py -v -v build
127130
python setup.py bdist_wheel
128131
twine check dist/*
129132
popd
130133
displayName: Build wheel
134+
131135
- bash: |
136+
# Undo use specify VS build tools.
137+
unset DISTUTILS_USE_SDK MSSdk
132138
set -ex
133139
source extra_functions.sh
134140
source config.sh

0 commit comments

Comments
 (0)