Skip to content

Commit 8d1657e

Browse files
committed
Fixed GDAL for macos and windows
1 parent 5f2df54 commit 8d1657e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/macos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: ${{ matrix.config.py }}
28+
- name: Install GDAL
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install --no-cache-dir Cython
32+
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL
33+
- name: Test GDAL installation
34+
run: |
35+
python -c "from osgeo import gdal"
36+
gdalinfo --version
2837
- name: Install dependencies
2938
run: |
3039
python -m pip install --upgrade pip

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
auto-activate-base: true
1919
python-version: "3.10"
2020
- name: Install GDAL
21-
run: conda install -c conda-forge gdal --yes
21+
run: conda install -c conda-forge gdal=3.4.0 --yes
2222
- name: Test GDAL installation
2323
run: |
2424
python -c "from osgeo import gdal"

0 commit comments

Comments
 (0)