[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.3-7-g3765cb6

git at osgeo.org git at osgeo.org
Tue Feb 9 16:30:39 PST 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.0 has been updated
       via  3765cb6254b5c394cf127e6852e0a2fd6ea3a7d4 (commit)
      from  3c258e243a3eb7749f4e8ef0f09ff82dbf18c267 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3765cb6254b5c394cf127e6852e0a2fd6ea3a7d4
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Feb 9 16:30:18 2021 -0800

    Add GitHub actions to branch

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..6a51a53
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,59 @@
+# GitHub Actions for PostGIS
+#
+# Paul Ramsey <pramsey at cleverelephant dot ca>
+
+name: "CI"
+on: [push, pull_request]
+
+jobs:
+  linux:
+    name: "CI"
+    strategy:
+      matrix:
+        ci:
+        # Use the last stable releases to run more tests
+        # - { tag: pg13-geos39-gdal31-proj71, mode: garden }
+        - { tag: pg12-geos37-gdal30-proj611, mode: tests }
+        - { tag: pg12-geos37-gdal30-proj611, mode: debug }
+        - { tag: pg12-geos37-gdal30-proj611, mode: coverage }
+        - { tag: pg12-geos37-gdal30-proj611, mode: usan_gcc }
+        # Run tests with different dependency combinations
+        # - { tag: latest, mode: tests }
+        - { tag: pg11-geos37-gdal24-proj52, mode: tests }
+        - { tag: pg10-geos36-gdal23-proj49, mode: tests }
+        - { tag: pg96-geos36-gdal22-proj49, mode: tests }
+        - { tag: pg95-geos36-gdal21-proj48, mode: tests }
+
+    runs-on: ubuntu-latest
+    steps:
+
+    # - name: 'Install Docker'
+    #   run: |
+    #     curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
+    #     sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+    #     sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
+
+    - name: 'Check Out'
+      uses: actions/checkout at v2
+
+    - name: 'Prepare Image'
+      run: |
+        set -e
+        uname -a
+        echo "/tmp/logbt-coredumps/core.%p.%E" | sudo tee /proc/sys/kernel/core_pattern
+        echo "FROM postgis/postgis-build-env:${{ matrix.ci.tag }}" > Dockerfile
+        echo "ADD --chown=postgres:postgres . /src/postgis" >> Dockerfile
+        echo "CMD bash ci/travis/run_${{ matrix.ci.mode }}.sh" >> Dockerfile
+        docker build -t pgtest .
+        ci_env=`bash .github/codecov_env.bash`
+
+    - name: 'Build & Test'
+      run: |
+        docker run $ci_env --name pgtest-${GITHUB_RUN_NUMBER} pgtest
+
+    - name: 'Clean Up Image'
+      if: ${{ success() }}
+      run: |
+        docker rm pgtest-${GITHUB_RUN_NUMBER}
+
+

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/ci.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 .github/workflows/ci.yml


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list