File tree Expand file tree Collapse file tree 4 files changed +65
-1
lines changed Expand file tree Collapse file tree 4 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ pull_request :
6+ branches :
7+ - main
8+
9+ name : macOS build
10+ jobs :
11+ test-macOS :
12+ runs-on : ${{ matrix.config.os }}
13+ name : ${{ matrix.config.os }} (${{ matrix.config.py }})
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ config :
18+ - { os: macOS-latest, py: "3.10" }
19+ env :
20+ SDKROOT : /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
21+ steps :
22+ - name : CHECKOUT CODE
23+ uses : actions/checkout@v3
24+ - name : SETUP PYTHON
25+ uses : actions/setup-python@v4
26+ with :
27+ python-version : ${{ matrix.config.py }}
28+ - name : Install dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install --no-cache-dir Cython
32+ pip install codespell -r requirements.txt
33+ pip install .
File renamed without changes.
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ pull_request :
6+ branches :
7+ - main
8+
9+ name : Windows build
10+ jobs :
11+ test-windows :
12+ runs-on : windows-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Install miniconda
16+ uses : conda-incubator/setup-miniconda@v2
17+ with :
18+ auto-activate-base : true
19+ python-version : " 3.10"
20+ - name : Install GDAL
21+ run : conda install -c conda-forge gdal --yes
22+ - name : Test GDAL installation
23+ run : |
24+ python -c "from osgeo import gdal"
25+ gdalinfo --version
26+ - name : Install dependencies
27+ run : |
28+ python -m pip install --upgrade pip
29+ pip install --no-cache-dir Cython
30+ pip install -r requirements.txt
31+ pip install .
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ segment-anything-py
22opencv-python
33pycocotools
44matplotlib
5- onnxruntime
5+ onnxruntime ; python_version < '3.11'
66onnx
77geopandas
88rasterio
You can’t perform that action at this time.
0 commit comments