Skip to content

Commit

Permalink
CI/RLS: upgrade to libspatialindex-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Jun 11, 2024
1 parent 6248b6f commit 2d2aa60
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 245 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
sidx-version: ['1.8.5', '1.9.3']
# test oldesst and newest libspatialindex versions
sidx-version: ['1.8.5', '2.0.0']
exclude:
- os: 'macos-latest'
- sidx-version: '1.8.5'
Expand Down
237 changes: 0 additions & 237 deletions ci/CMakeLists.txt

This file was deleted.

6 changes: 2 additions & 4 deletions ci/install_libspatialindex.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -xe

# A simple script to install libspatialindex from a Github Release
VERSION=1.9.3
SHA256=63a03bfb26aa65cf0159f925f6c3491b6ef79bc0e3db5a631d96772d6541187e
VERSION=2.0.0
SHA256=8caa4564c4592824acbf63a2b883aa2d07e75ccd7e9bf64321c455388a560579

# where to copy resulting files
# this has to be run before `cd`-ing anywhere
Expand Down Expand Up @@ -53,8 +53,6 @@ cd libspatialindex-${VERSION}
mkdir build
cd build

cp "${SL}/CMakeLists.txt" ..

printenv

if [ "$(uname)" == "Darwin" ]; then
Expand Down
4 changes: 1 addition & 3 deletions ci/install_libspatialindex.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
python -c "import sys; print(sys.version)"

set SIDX_VERSION=1.9.3
set SIDX_VERSION=2.0.0

curl -OL "https://github.com/libspatialindex/libspatialindex/archive/%SIDX_VERSION%.zip"

tar xvf "%SIDX_VERSION%.zip"

REM unzip 1.9.3.zip
REM copy %~dp0\CMakeLists.txt libspatialindex-1.9.3\CMakeLists.txt
cd libspatialindex-%SIDX_VERSION%

mkdir build
Expand Down

0 comments on commit 2d2aa60

Please sign in to comment.