Skip to content

Commit 188fbb8

Browse files
committed
Compile gdal from source
1 parent a9308c7 commit 188fbb8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/tests.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ jobs:
1818
python-version: ${{ matrix.python-version }}
1919
- name: Install dependencies
2020
run: |
21-
sudo apt-get install gdal libgdal-dev -y
21+
sudo apt-get update
22+
sudo apt-get install git cmake gcc
23+
git clone https://github.com/OSGeo/GDAL.git /usr/local/src/gdal
24+
mkdir /usr/local/src/gdal/build
25+
cd /usr/local/src/gdal/build
26+
cmake ..
27+
cmake --build .
28+
cmake --build . --target install
29+
cd /github
2230
python -m pip install --upgrade pip
2331
python -m pip install poetry setuptools
2432
poetry install --all-extras

0 commit comments

Comments
 (0)