aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/conda.yml
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2020-10-14 12:30:50 -0500
committerGitHub <noreply@github.com>2020-10-14 12:30:50 -0500
commitbb7dde0752bfb35389b536b2ee6cd37f94f0a511 (patch)
tree99b3adbfe1c35018df013aa3ffa6fd9d2ced0dc7 /.github/workflows/conda.yml
parent9751f31ca9aa42d075421b038f93fe1b1640ffd3 (diff)
downloadPROJ-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 '.github/workflows/conda.yml')
-rw-r--r--.github/workflows/conda.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml
new file mode 100644
index 00000000..80828772
--- /dev/null
+++ b/.github/workflows/conda.yml
@@ -0,0 +1,43 @@
+name: Conda
+
+on:
+ push:
+ branches: '*'
+
+jobs:
+ build:
+ name: Conda ${{ matrix.platform }}
+
+ runs-on: ${{ matrix.platform }}
+ strategy:
+ fail-fast: true
+ matrix:
+ platform: ['ubuntu-latest','windows-latest','macos-latest']
+
+ env:
+ PLATFORM: ${{ matrix.platform }}
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: goanpeca/setup-miniconda@v1
+ with:
+ channels: conda-forge
+ auto-update-conda: true
+
+ - name: Setup
+ shell: bash -l {0}
+ run: |
+ source ./scripts/ci/conda/setup.sh
+
+ - name: Build
+ shell: bash -l {0}
+ run: |
+ source ../scripts/ci/conda/compile.sh
+ working-directory: ./proj.4-feedstock
+
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ matrix.platform }}-conda-package
+ path: ./proj.4-feedstock/packages/