This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 2828 # Exclude the default Python 3.5 build
2929 - python : 3.5
3030 include :
31- - os : linux
31+ - stage : Build and test wheel
32+ os : linux
3233 env :
3334 - MB_PYTHON_VERSION=3.6
3435 - NP_BUILD_DEP=numpy==1.14.5
8889 - CYTHON_BUILD_DEP="Cython"
8990 - MB_PYTHON_OSX_VER=10.9
9091
92+ - os : linux
93+ arch : arm64
94+ env :
95+ - MB_PYTHON_VERSION=3.7
96+ - PLAT=aarch64
97+ - NP_BUILD_DEP=numpy==1.19.1
98+ - CYTHON_BUILD_DEP="Cython"
99+ - DOCKER_IMAGE=quay.io/pypa/manylinux2014_${PLAT}
100+ script :
101+ - echo "This stage will just build AArch64 wheel"
102+ workspaces :
103+ create :
104+ name : ws1
105+ paths :
106+ - wheelhouse
107+ after_success :
108+ - echo "This stage will not upload aarch64 wheel"
109+ - stage : Test wheel
110+ arch : arm64
111+ env :
112+ - MB_PYTHON_VERSION=3.7
113+ - PLAT=aarch64
114+ - NP_TEST_DEP=numpy==1.19.1
115+ - CYTHON_BUILD_DEP="Cython"
116+ - DOCKER_TEST_IMAGE=multibuild/xenial_arm64v8
117+ workspaces :
118+ use : ws1
119+ install :
120+ - echo "This stage will test and upload the AArch64 wheel"
121+
91122before_install :
92123 - if [ "$TRAVIS_BRANCH" == "master" ]; then
93124 CONTAINER="pre-release";
Original file line number Diff line number Diff line change @@ -64,14 +64,18 @@ function run_tests {
6464 # Runs tests on installed distribution from an empty directory
6565 # OSX tests seem to time out pretty often
6666 if [ -z " $IS_OSX " ]; then
67- local testmode=" full"
67+ if [ ` uname -m` = ' aarch64' ]; then
68+ local testmode=" fast"
69+ else
70+ local testmode=" full"
71+ fi
6872 else
6973 local testmode=" fast"
7074 fi
7175 # Check bundled license file
7276 python ../check_installed_package.py
7377 # Run tests
74- python ../run_scipy_tests.py $testmode -- -n2 -rfEX
78+ python ../run_scipy_tests.py $testmode -- -n8 -rfEX
7579 # Show BLAS / LAPACK used
7680 python -c ' import scipy; scipy.show_config()'
7781}
You can’t perform that action at this time.
0 commit comments