-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.cirrus.yml
45 lines (45 loc) · 1.75 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
wheel_build_task:
name: Build Rasterio wheels for Mac ARM64.
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode
env:
BUILD_PREFIX: /private/tmp/local
REPO_DIR: rasterio
BUILD_COMMIT: 1.4b1
CIRRUS_CLONE_SUBMODULES: true
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
PLAT: "arm64"
BUILD_DEPENDS: "setuptools numpy>=1.25,<2 cython~=3.0.2 wheel"
TEST_DEPENDS: "oldest-supported-numpy attrs pytest click mock boto3 packaging hypothesis wheel fsspec aiohttp requests"
MACOSX_DEPLOYMENT_TARGET: "11.0"
matrix:
- MB_PYTHON_VERSION: "3.12"
- MB_PYTHON_VERSION: "3.11"
- MB_PYTHON_VERSION: "3.10"
- MB_PYTHON_VERSION: "3.9"
install_pre_requirements_script:
- brew install pkg-config [email protected]
- ln -s /opt/homebrew/opt/[email protected]/bin/python3.10 /opt/homebrew/opt/[email protected]/bin/python
brew_remove_pkgs_script:
- brew remove -f --ignore-dependencies liblerc webp zstd libtiff libxcb libxdcmp curl php lcms2 xmlto ghostscript lz4 openjpeg xz gettext giflib rtmpdump brotli snappy
build_wheel_script:
- mkdir -p $BUILD_PREFIX/include
- mkdir -p $BUILD_PREFIX/lib/pkgconfig
- mkdir -p $BUILD_PREFIX/bin
- mkdir -p $BUILD_PREFIX/share/doc/
- mkdir -p $BUILD_PREFIX/share/man/man{1,3,5,7}
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
- clean_code $REPO_DIR $BUILD_COMMIT
- MACOSX_DEPLOYMENT_TARGET=11.0
- GDAL_CONFIG=$BUILD_PREFIX/bin/gdal-config
- PROJ_DATA=$BUILD_PREFIX/share/proj
- build_wheel $REPO_DIR $PLAT
test_wheel_script:
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
- install_run $PLAT
wheels_artifacts:
path: "wheelhouse/*.whl"