Merge pull request #1 from iHeadWater/dev #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
name: Windows build | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-activate-base: true | |
python-version: "3.10" | |
- name: Install GDAL | |
run: conda install -c conda-forge gdal --yes | |
- name: Test GDAL installation | |
run: | | |
python -c "from osgeo import gdal" | |
gdalinfo --version | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --no-cache-dir Cython | |
pip install -r requirements.txt | |
pip install . |