This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree 2 files changed +33
-2
lines changed
2 files changed +33
-2
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
+ - 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"
31
49
- os : linux
32
50
env :
33
51
- MB_PYTHON_VERSION=3.6
@@ -88,6 +106,19 @@ jobs:
88
106
- CYTHON_BUILD_DEP="Cython"
89
107
- MB_PYTHON_OSX_VER=10.9
90
108
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 @@ -63,15 +63,15 @@ function build_osx_wheel {
63
63
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
- if [ -z " $IS_OSX " ]; then
66
+ if [[ -z " $IS_OSX " && ` uname -m ` != ' aarch64 ' ] ]; then
67
67
local testmode=" full"
68
68
else
69
69
local testmode=" fast"
70
70
fi
71
71
# Check bundled license file
72
72
python ../check_installed_package.py
73
73
# Run tests
74
- python ../run_scipy_tests.py $testmode -- -n2 -rfEX
74
+ python ../run_scipy_tests.py $testmode -- -n8 -rfEX
75
75
# Show BLAS / LAPACK used
76
76
python -c ' import scipy; scipy.show_config()'
77
77
}
You can’t perform that action at this time.
0 commit comments