1
1
2
2
if [[ " $TRAVIS_OS_NAME " == " osx" ]]; then
3
- # these cause a conflict with built webp and libtiff,
3
+ # webp, zstd, xz, libtiff, libxcb cause a conflict with building webp, libtiff, libxcb
4
4
# curl from brew requires zstd, use system curl
5
- brew remove --ignore-dependencies webp zstd xz libtiff curl
5
+ # if php is installed, brew tries to reinstall these after installing openblas
6
+ # remove lcms2 to fix building openjpeg on arm64
7
+ # remove xmlto to skip building giflib docs
8
+ brew remove --ignore-dependencies webp zstd xz libtiff libxcb curl php lcms2 xmlto ghostscript
9
+
10
+ if [[ " $PLAT " == " arm64" ]]; then
11
+ export MACOSX_DEPLOYMENT_TARGET=" 11.0"
12
+ else
13
+ export MACOSX_DEPLOYMENT_TARGET=" 10.10"
14
+ fi
6
15
fi
7
16
8
17
if [[ " $MB_PYTHON_VERSION " == pypy3* ]]; then
9
- if [[ " $TRAVIS_OS_NAME " != " macos-latest " ]] ; then
10
- MB_ML_VER= " 2010 "
18
+ MB_PYTHON_OSX_VER= " 10.9 "
19
+ if [[ " $PLAT " == " i686 " ]] ; then
11
20
DOCKER_TEST_IMAGE=" multibuild/xenial_$PLAT "
12
- else
13
- MB_PYTHON_OSX_VER=" 10.9"
14
21
fi
22
+ elif [[ " $MB_PYTHON_VERSION " == " 3.11" ]] && [[ " $PLAT " == " i686" ]]; then
23
+ DOCKER_TEST_IMAGE=" radarhere/bionic-$PLAT "
15
24
fi
16
25
17
26
echo " ::group::Install a virtualenv"
@@ -22,13 +31,13 @@ echo "::group::Install a virtualenv"
22
31
echo " ::endgroup::"
23
32
24
33
echo " ::group::Build wheel"
25
- clean_code $REPO_DIR $BUILD_COMMIT
26
- build_wheel $REPO_DIR $PLAT
34
+ clean_code
35
+ build_wheel
27
36
ls -l " ${GITHUB_WORKSPACE} /${WHEEL_SDIR} /"
28
37
echo " ::endgroup::"
29
38
30
39
if [[ $MACOSX_DEPLOYMENT_TARGET != " 11.0" ]]; then
31
40
echo " ::group::Test wheel"
32
- install_run $PLAT
41
+ install_run
33
42
echo " ::endgroup::"
34
- fi
43
+ fi
0 commit comments