diff options
| author | Howard Butler <howard@hobu.co> | 2020-10-14 12:30:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-14 12:30:50 -0500 |
| commit | bb7dde0752bfb35389b536b2ee6cd37f94f0a511 (patch) | |
| tree | 99b3adbfe1c35018df013aa3ffa6fd9d2ced0dc7 /scripts | |
| parent | 9751f31ca9aa42d075421b038f93fe1b1640ffd3 (diff) | |
| download | PROJ-bb7dde0752bfb35389b536b2ee6cd37f94f0a511.tar.gz PROJ-bb7dde0752bfb35389b536b2ee6cd37f94f0a511.zip | |
Add Conda package GitHub Action (#2373)
* implement conda package building
* paths
* need libtool
* PLATFORM check
* point to my PROJ feedstock for now
* point to PROJ repos
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci/conda/compile.sh | 8 | ||||
| -rwxr-xr-x | scripts/ci/conda/setup.sh | 22 |
2 files changed, 30 insertions, 0 deletions
diff --git a/scripts/ci/conda/compile.sh b/scripts/ci/conda/compile.sh new file mode 100755 index 00000000..3d8fcfbe --- /dev/null +++ b/scripts/ci/conda/compile.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +mkdir packages + +conda build recipe --clobber-file recipe/recipe_clobber.yaml --output-folder packages +conda install -c ./packages proj + +#projinfo -s NAD27 -t EPSG:4269 --area "USA - Missouri" diff --git a/scripts/ci/conda/setup.sh b/scripts/ci/conda/setup.sh new file mode 100755 index 00000000..52b93889 --- /dev/null +++ b/scripts/ci/conda/setup.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +conda update -n base -c defaults conda -y +conda install conda-build ninja compilers -y + +pwd +ls +git clone https://github.com/conda-forge/proj.4-feedstock.git + +cd proj.4-feedstock +cat > recipe/recipe_clobber.yaml <<EOL +source: + git_url: https://github.com/OSGeo/PROJ.git + git_rev: ${GITHUB_SHA} + url: + sha256: + +build: + number: 2112 +EOL + +ls recipe |
