8000 BLD: use macos-11 image on azure, macos-1015 is deprecated (#22043) · numpy/numpy@831c04a · GitHub
[go: up one dir, main page]

Skip to content

Commit 831c04a

Browse files
authored
BLD: use macos-11 image on azure, macos-1015 is deprecated (#22043)
[ci skip]
1 parent 58ee8a8 commit 831c04a

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,7 @@ stages:
125125

126126
- job: macOS
127127
pool:
128-
# NOTE: at time of writing, there is a danger
129-
# that using an invalid vmIMage string for macOS
130-
# image silently redirects to a Windows build on Azure;
131-
# for now, use the only image name officially present in
132-
# the docs even though i.e., numba uses another in their
133-
# azure config for mac os -- Microsoft has indicated
134-
# they will patch this issue
135-
vmImage: 'macOS-1015'
128+
vmImage: 'macOS-11'
136129
strategy:
137130
maxParallel: 3
138131
matrix:
@@ -226,9 +219,14 @@ stages:
226219
- script: python runtests.py -g --refguide-check
227220
displayName: 'Run Refguide Check'
228221
condition: eq(variables['USE_OPENBLAS'], '1')
229-
- script: python runtests.py -n --mode=full -- -rsx --junitxml=junit/test-results.xml
222+
- script: |
223+
echo LIBRARY_PATH ${LIBRARY_PATH}
224+
python runtests.py -n --mode=full -- -rsx --junitxml=junit/test-results.xml
230225
displayName: 'Run Full NumPy Test Suite'
231226
condition: eq(variables['USE_OPENBLAS'], '1')
227+
env:
228+
# gfortran installed above adds -lSystem, so this is needed to find it (gh-22043)
229+
LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
232230
- bash: python tools/openblas_support.py --check_version
233231
displayName: 'Verify OpenBLAS version'
234232
condition: eq(variables['USE_OPENBLAS'], '1')

0 commit comments

Comments
 (0)
0