Skip to content

Commit

Permalink
Added numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Jun 25, 2022
1 parent f0e4d6a commit 7459b0b
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
on:
push:
branches:
- master
pull_request:
branches:
- master
push:
branches:
- master
pull_request:
branches:
- master

name: macOS build with GDAL
jobs:
test-macOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install GDAL
run: brew install gdal
- name: Set up GDAL
run: |
GDAL_VER=$(find /usr/local/Cellar/gdal/ -name "lib" | awk -F"/" '{print $7}')
GDAL_LDPATH=/usr/local/Cellar/gdal/$GDAL_VER/lib/
export LIBRARY_PATH=$GDAL_LDPATH
echo $LIBRARY_PATH
- name: Test GDAL installation
run: |
gdalinfo --version
- name: Install cartopy
run: |
brew install proj geos
pip3 install shapely --no-binary shapely
brew install pkg-config
export PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
pip3 install cartopy
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install -r requirements.txt
pip install .
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install GDAL
run: brew install gdal
- name: Set up GDAL
run: |
GDAL_VER=$(find /usr/local/Cellar/gdal/ -name "lib" | awk -F"/" '{print $7}')
GDAL_LDPATH=/usr/local/Cellar/gdal/$GDAL_VER/lib/
export LIBRARY_PATH=$GDAL_LDPATH
echo $LIBRARY_PATH
- name: Test GDAL installation
run: |
gdalinfo --version
- name: Install cartopy
run: |
brew install proj geos
pip3 install shapely --no-binary shapely numpy
brew install pkg-config
export PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
pip3 install cartopy
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install -r requirements.txt
pip install .

0 comments on commit 7459b0b

Please sign in to comment.