8000 MAINT: Update azure 32 bit linux testing from main. · numpy/numpy@64df4ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 64df4ae

Browse files
committed
MAINT: Update azure 32 bit linux testing from main.
1 parent 774e0a8 commit 64df4ae

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,7 @@ stages:
6868
# yum does not have a ninja package, so use the PyPI one
6969
docker run -v $(pwd):/numpy -e CFLAGS="-msse2 -std=c99 -UNDEBUG" \
7070
-e F77=gfortran-5 -e F90=gfortran-5 quay.io/pypa/manylinux2014_i686 \
71-
/bin/bash -xc " \
72-
git config --global --add safe.directory /numpy && \
73-
cd /numpy && \
74-
/opt/python/cp39-cp39/bin/python -mvenv venv && \
75-
source venv/bin/activate && \
76-
target=\$(python3 tools/openblas_support.py) && \
77-
cp -r \$target/lib/* /usr/lib && \
78-
cp \$target/include/* /usr/include && \
79-
python3 -m pip install ninja && \
80-
python3 -m pip install -r test_requirements.txt && \
81-
echo CFLAGS \$CFLAGS && \
82-
python3 -m pip install -v . && \
83-
cd tools && \
84-
python3 -m pytest --pyargs numpy"
71+
/bin/bash -xc "source /numpy/tools/ci/run_32_bit_linux_docker.sh"
8572
displayName: 'Run 32-bit manylinux2014 Docker Build / Tests'
8673
8774
- job: Windows

tools/ci/run_32_bit_linux_docker.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
set -xe
2+
3+
git config --global --add safe.directory /numpy
4+
cd /numpy
5+
/opt/python/cp39-cp39/bin/python -mvenv venv
6+
source venv/bin/activate
7+
python3 -m pip install ninja scipy-openblas32 spin
8+
python3 -m pip install -r test_requirements.txt
9+
echo CFLAGS \$CFLAGS
10+
spin config-openblas --with-scipy-openblas=32
11+
export PKG_CONFIG_PATH=/numpy/.openblas
12+
python3 -m pip install .
13+
cd tools
14+
python3 -m pytest --pyargs numpy

0 commit comments

Comments
 (0)
0