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 +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
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+ - stage : Build and test wheel
32+ os : linux
33+ arch : arm64
34+ env :
35+ - MB_PYTHON_VERSION=3.7
36+ - PLAT=aarch64
37+ - NP_BUILD_DEP=numpy==1.19.1
38+ - CYTHON_BUILD_DEP="Cython"
39+ - DOCKER_IMAGE=quay.io/pypa/manylinux2014_${PLAT}
40+ script :
41+ - echo "This stage will just build AArch64 wheel"
42+ workspaces :
43+ create :
44+ name : ws1
45+ paths :
46+ - wheelhouse
47+ after_success :
48+ - echo "This stage will not upload aarch64 wheel"
3149 - os : linux
3250 env :
3351 - MB_PYTHON_VERSION=3.6
@@ -88,6 +106,19 @@ jobs:
88106 - CYTHON_BUILD_DEP="Cython"
89107 - MB_PYTHON_OSX_VER=10.9
90108
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 @@ -63,15 +63,15 @@ function build_osx_wheel {
6363function run_tests {
6464 # Runs tests on installed distribution from an empty directory
6565 # OSX tests seem to time out pretty often
66- if [ -z " $IS_OSX " ]; then
66+ if [[ -z " $IS_OSX " && ` uname -m ` != ' aarch64 ' ] ]; then
6767 local testmode=" full"
6868 else
6969 local testmode=" fast"
7070 fi
7171 # Check bundled license file
7272 python ../check_installed_package.py
7373 # Run tests
74- python ../run_scipy_tests.py $testmode -- -n2 -rfEX
74+ python ../run_scipy_tests.py $testmode -- -n8 -rfEX
7575 # Show BLAS / LAPACK used
7676 python -c ' import scipy; scipy.show_config()'
7777}
You can’t perform that action at this time.
0 commit comments