Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c2afe0e
Update linux_x86_64.yaml
vot4anto May 19, 2026
65a9b05
Update macos_arm64.yaml
vot4anto May 19, 2026
069bdc4
Update macos_arm64.yaml
vot4anto May 19, 2026
4fdb38a
use devel of multibuild
vot4anto Jun 9, 2026
089ca14
switch from Linux and OSX
vot4anto Jun 9, 2026
a13e751
add if for OSX also on wheels
vot4anto Jun 9, 2026
ab094e8
typo
vot4anto Jun 9, 2026
c3c50b7
change name at script of get code
vot4anto Jun 10, 2026
9eb65cf
add sleep for MacOS
vot4anto Jun 10, 2026
3034295
use cibuildwheel
vot4anto Jun 10, 2026
3048a44
add with option
vot4anto Jun 10, 2026
d078ae3
add installation of python
vot4anto Jun 10, 2026
ef8ed92
python3.12 and only psutil
vot4anto Jun 10, 2026
002cca3
use 3.2.1
vot4anto Jun 10, 2026
128fde0
skip test, we will do for oq
vot4anto Jun 10, 2026
3ff15cd
pyproj run
vot4anto Jun 10, 2026
f2886e9
typo
vot4anto Jun 10, 2026
de8b5f2
try first build of proj
vot4anto Jun 10, 2026
b9072e5
remove if on code.sh
vot4anto Jun 10, 2026
fd51d02
permission denied
vot4anto Jun 10, 2026
9465641
add missing variable
vot4anto Jun 10, 2026
81be663
add missing variable for PROJ
vot4anto Jun 10, 2026
3e42958
typo
vot4anto Jun 10, 2026
6a8f534
add is_macos
vot4anto Jun 10, 2026
31cabfd
typo
vot4anto Jun 10, 2026
61bb80f
typo
vot4anto Jun 10, 2026
d93425e
define archive_sdir
vot4anto Jun 10, 2026
b77bde6
typo
vot4anto Jun 10, 2026
66385c4
add missing function check_sha256sum
vot4anto Jun 10, 2026
9102529
set -ex
vot4anto Jun 10, 2026
72c871f
use
vot4anto Jun 10, 2026
fcf08d2
change function for download
vot4anto Jun 10, 2026
0284700
new fetch_unpack
vot4anto Jun 10, 2026
5b1e329
echo for ssl root
vot4anto Jun 10, 2026
2be03f9
typo
vot4anto Jun 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 43 additions & 58 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
@@ -1,60 +1,45 @@
#!/usr/bin/env bash
set -ex
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/geolibs.sh"
BUILD_PREFIX="${BUILD_PREFIX:-${TMPDIR:-/tmp}/geostack}"
BUILD_DIR="${BUILD_DIR:-${TMPDIR:-/tmp}/geostack-build}"
mkdir -p "$BUILD_PREFIX" "$BUILD_DIR"
OS="$(uname -s)"

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# webp, zstd, xz, libtiff cause a conflict with building webp and libtiff
# curl from brew requires zstd, use system curl
# if php is installed, brew tries to reinstall these after installing openblas
brew remove --ignore-dependencies zstd libtiff curl php
fi
# =========================
# OS SETUP
# =========================

echo "::group::Get code of project: $REPO_DIR"
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
if [[ "$REPO_DIR" == "rasterio" ]]; then
git clone https://github.com/rasterio/rasterio.git
cd rasterio
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "Fiona" ]]; then
git clone https://github.com/Toblerity/Fiona.git
cd Fiona
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "pyproj" ]]; then
git clone https://github.com/pyproj4/pyproj.git
cd pyproj
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "gdal" ]]; then
git clone https://github.com/OSGeo/gdal.git
cd gdal
git checkout ${BUILD_COMMIT}
# No such file or directory for GDAL 3.6.4
ls swig/python
fi
if [[ "$REPO_DIR" == "psutil" ]]; then
git clone https://github.com/giampaolo/psutil.git
cd psutil
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "geopands" ]]; then
git clone https://github.com/geopandas/geopandas.git
cd geopandas
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "pyogrio" ]]; then
git clone https://github.com/geopandas/pyogrio.git
cd pyogrio
# setting git safe directory is required for properly building wheels when
# git >= 2.35.3
git config --global --add safe.directory "*"
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "geopandas" ]]; then
git clone https://github.com/geopandas/geopandas.git
cd geopandas
# setting git safe directory is required for properly building wheels when
# git >= 2.35.3
git config --global --add safe.directory "*"
git checkout ${BUILD_COMMIT}
fi
echo "::endgroup::"
setup_linux() {
export CFLAGS="-fPIC ${CFLAGS:-}"
export CXXFLAGS="-fPIC ${CXXFLAGS:-}"
}
setup_macos() {
export MACOSX_DEPLOYMENT_TARGET="11.0"
}
setup_windows() {
export CMAKE_GENERATOR="Ninja"
}

case "$OS" in
Linux) setup_linux ;;
Darwin) setup_macos ;;
MINGW*|MSYS*|CYGWIN*) setup_windows ;;
*) echo "Unsupported OS: $OS"; exit 1 ;;
esac


TARGET="${BUILD_TARGET:-gdal}"
case "$TARGET" in
gdal)
build_gdal
;;
proj)
build_proj
;;
*)
echo "Unknown target: $TARGET"
exit 1
;;
esac
50 changes: 50 additions & 0 deletions .github/workflows/code.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
echo "::group::Get code of project: $REPO_DIR"
if [[ "$REPO_DIR" == "rasterio" ]]; then
git clone https://github.com/rasterio/rasterio.git
cd rasterio
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "Fiona" ]]; then
git clone https://github.com/Toblerity/Fiona.git
cd Fiona
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "pyproj" ]]; then
git clone https://github.com/pyproj4/pyproj.git
cd pyproj
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "gdal" ]]; then
git clone https://github.com/OSGeo/gdal.git
cd gdal
git checkout ${BUILD_COMMIT}
# No such file or directory for GDAL 3.6.4
ls swig/python
fi
if [[ "$REPO_DIR" == "psutil" ]]; then
git clone https://github.com/giampaolo/psutil.git
cd psutil
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "geopands" ]]; then
git clone https://github.com/geopandas/geopandas.git
cd geopandas
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "pyogrio" ]]; then
git clone https://github.com/geopandas/pyogrio.git
cd pyogrio
# setting git safe directory is required for properly building wheels when
# git >= 2.35.3
git config --global --add safe.directory "*"
git checkout ${BUILD_COMMIT}
fi
if [[ "$REPO_DIR" == "geopandas" ]]; then
git clone https://github.com/geopandas/geopandas.git
cd geopandas
# setting git safe directory is required for properly building wheels when
# git >= 2.35.3
git config --global --add safe.directory "*"
git checkout ${BUILD_COMMIT}
fi
echo "::endgroup::"
27 changes: 27 additions & 0 deletions .github/workflows/env_vars.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

SQLITE_VERSION=3440000
CURL_VERSION=8.16.0
LIBPNG_VERSION=1.6.50
ZLIB_VERSION=1.2.11
JPEG_VERSION=9f
GEOS_VERSION=3.14.0
JSONC_VERSION=0.18
PROJ_VERSION=9.6.0
PROJ_DATA_VER=1.19.0
GDAL_VERSION=3.10.3
NGHTTP2_VERSION=1.46.0
EXPAT_VERSION=2.2.6
OPENSSL_DOWNLOAD_URL=https://www.openssl.org/source/
OPENSSL_ROOT=openssl-1.1.1w
OPENSSL_HASH=cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
PCRE_VERSION=10.44
EXPAT_VERSION=2.6.3
TIFF_VERSION=4.7.0
PCRE_VERSION=10.44
PYOGRIO_VERSION=v0.11.1
export GDAL_CONFIG=/usr/local/bin/gdal-config
export PACKAGE_DATA=1
#from PROJ 9.x
export PROJ_WHEEL=true
export PROJ_NETWORK=ON
Loading
Loading