This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree 2 files changed +43
-2
lines changed
2 files changed +43
-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-graviton2
34
+ dist : focal
35
+ virt : vm
36
+ group : edge
37
+ env :
38
+ - MB_PYTHON_VERSION=3.7
39
+ - PLAT=aarch64
40
+ - NP_BUILD_DEP=numpy==1.19.1
41
+ - CYTHON_BUILD_DEP="Cython"
42
+ - DOCKER_IMAGE=quay.io/pypa/manylinux2014_${PLAT}
43
+ script :
44
+ - echo "This stage will just build AArch64 wheel"
45
+ workspaces :
46
+ create :
47
+ name : ws1
48
+ paths :
49
+ - wheelhouse
50
+ after_success :
51
+ - echo "This stage will not upload aarch64 wheel"
31
52
- os : linux
32
53
env :
33
54
- MB_PYTHON_VERSION=3.6
@@ -88,6 +109,22 @@ jobs:
88
109
- CYTHON_BUILD_DEP="Cython"
89
110
- MB_PYTHON_OSX_VER=10.9
90
111
112
+ - stage : Test wheel
113
+ arch : arm64-graviton2
114
+ dist : focal
115
+ virt : vm
116
+ group : edge
117
+ env :
118
+ - MB_PYTHON_VERSION=3.7
119
+ - PLAT=aarch64
120
+ - NP_TEST_DEP=numpy==1.19.1
121
+ - CYTHON_BUILD_DEP="Cython"
122
+ - DOCKER_TEST_IMAGE=multibuild/xenial_arm64v8
123
+ workspaces :
124
+ use : ws1
125
+ install :
126
+ - echo "This stage will test and upload the AArch64 wheel"
127
+
91
128
before_install :
92
129
- if [ "$TRAVIS_BRANCH" == "master" ]; then
93
130
CONTAINER="pre-release";
Original file line number Diff line number Diff line change @@ -63,15 +63,19 @@ 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
+ if [[ -z " $IS_OSX " && ` uname -m` != ' aarch64' ]]; then
75
+ python ../run_scipy_tests.py $testmode -- -n2 -rfEX
76
+ else
77
+ python ../run_scipy_tests.py $testmode -- -n8 -rfEX
78
+ fi
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