Skip to content

Commit

Permalink
Increment GDAL and Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillies committed Nov 10, 2024
1 parent 5504fa5 commit 0492af8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_gdal_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
test_gdal_latest:
name: GDAL Latest
runs-on: ubuntu-latest
container: osgeo/proj:9.1.0
container: osgeo/proj:9.2.0
env:
GDAL_DIR: ${{ github.workspace }}/gdal_install
GDAL_DATA: ${{ github.workspace }}/gdal_install/share/gdal
LD_LIBRARY_PATH: "${{ github.workspace }}/gdal_install/lib/:${LD_LIBRARY_PATH}"
steps:
- uses: actions/checkout@v4.1.3
- uses: actions/checkout@v4
- name: Update
run: |
apt-get update
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
gdal-version: ['3.9.3']
include:
- python-version: '3.8'
gdal-version: '3.4.3'
Expand All @@ -49,10 +51,12 @@ jobs:
- python-version: '3.11'
gdal-version: '3.7.3'
- python-version: '3.12'
gdal-version: '3.8.3'
gdal-version: '3.8.4'
- python-version: '3.12'
gdal-version: '3.9.3'

steps:
- uses: actions/checkout@v4.1.3
- uses: actions/checkout@v4

- name: Update
run: |
Expand Down Expand Up @@ -91,11 +95,11 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [macos-13, macos-14]
python-version: ['3.9', '3.10', '3.11', '3.12']
include:
- os: macos-13
python-version: '3.12'
- os: macos-14
python-version: '3.12'
- os: ubuntu-latest
python-version: '*'
- os: windows-latest
python-version: '3.12'
steps:
Expand Down Expand Up @@ -130,7 +134,7 @@ jobs:
conda config --set channel_priority strict
conda create -n test python=${{ matrix.python-version }} libgdal geos=3.12 cython=3
conda activate test
GDAL_VERSION="3.7" python setup.py build_ext -I"/c/Users/runneradmin/miniconda3/envs/test/Library/include" -lgdal -L"/c/Users/runneradmin/miniconda3/envs/test/Library/lib" install
GDAL_VERSION="3.9" python setup.py build_ext -I"/c/Users/runneradmin/miniconda3/envs/test/Library/include" -lgdal -L"/c/Users/runneradmin/miniconda3/envs/test/Library/lib" install
python -m pip install -r requirements-dev.txt
- name: Check and Log Environment
Expand Down

0 comments on commit 0492af8

Please sign in to comment.