This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree 2 files changed +38
-3
lines changed
2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 28
28
# Exclude the default Python 3.5 build
29
29
- python : 3.5
30
30
include :
31
- - os : linux
31
+ - stage : Build and test wheel
32
+ os : linux
32
33
env :
33
34
- MB_PYTHON_VERSION=3.6
34
35
- NP_BUILD_DEP=numpy==1.14.5
88
89
- CYTHON_BUILD_DEP="Cython"
89
90
- MB_PYTHON_OSX_VER=10.9
90
91
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
+
91
122
before_install :
92
123
- if [ "$TRAVIS_BRANCH" == "master" ]; then
93
124
CONTAINER="pre-release";
Original file line number Diff line number Diff line change @@ -64,14 +64,18 @@ function run_tests {
64
64
# Runs tests on installed distribution from an empty directory
65
65
# OSX tests seem to time out pretty often
66
66
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
68
72
else
69
73
local testmode=" fast"
70
74
fi
71
75
# Check bundled license file
72
76
python ../check_installed_package.py
73
77
# Run tests
74
- python ../run_scipy_tests.py $testmode -- -n2 -rfEX
78
+ python ../run_scipy_tests.py $testmode -- -n8 -rfEX
75
79
# Show BLAS / LAPACK used
76
80
python -c ' import scipy; scipy.show_config()'
77
81
}
You can’t perform that action at this time.
0 commit comments