[geos-commits] [SCM] GEOS branch 3.7 updated. 88d176e8662250034900f0578bc38736c21c4194

git at osgeo.org git at osgeo.org
Wed Feb 3 14:58:08 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 "GEOS".

The branch, 3.7 has been updated
       via  88d176e8662250034900f0578bc38736c21c4194 (commit)
      from  2926110b6beed74fe4182f73c6c9dac60c02a255 (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 88d176e8662250034900f0578bc38736c21c4194
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Feb 3 14:58:03 2021 -0800

    Add github actions to 3.7

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..2007c7f
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,113 @@
+# GitHub Actions for GEOS
+#
+# Paul Ramsey <pramsey at cleverelephant dot ca>
+# Based on AZP configuration by Mateusz Loskot <mateusz at loskot dot net>
+
+name: CI
+on: [push, pull_request]
+
+env:
+  BUILD_TYPE: 'Release'
+  MAKEFLAGS: '-j2'
+
+jobs:
+  linux:
+    name: 'Linux'
+    strategy:
+      matrix:
+        ci:
+        - {
+          compiler: g++,
+          build: cmake,
+          cxxstd: 11,
+          arch: 64,
+          packages: 'g++ cmake doxygen',
+          os: ubuntu-18.04
+        }
+        - {
+          compiler: g++,
+          build: autotools,
+          cxxstd: 11,
+          arch: 64,
+          packages: 'g++ automake doxygen git2cl',
+          os: ubuntu-18.04
+        }
+        - {
+          compiler: g++,
+          build: autotools,
+          cxxstd: 11,
+          arch: 32,
+          packages: 'g++-4.8-multilib gcc-4.8-multilib g++-multilib gcc-multilib doxygen automake git2cl',
+          os: ubuntu-18.04
+        }
+        - {
+          compiler: clang++,
+          build: cmake,
+          cxxstd: 11,
+          arch: 64,
+          packages: 'clang cmake doxygen',
+          os: ubuntu-18.04
+        }
+        - {
+          compiler: g++,
+          build: cmake,
+          cxxstd: 11,
+          arch: 64,
+          packages: 'g++ cmake doxygen',
+          os: ubuntu-20.04
+        }
+        - {
+          compiler: clang++,
+          build: cmake,
+          cxxstd: 11,
+          arch: 64,
+          packages: 'clang cmake doxygen',
+          os: ubuntu-16.04
+        }
+        - {
+          compiler: clang++,
+          build: cmake,
+          cxxstd: 14,
+          arch: 64,
+          packages: 'clang cmake doxygen',
+          os: ubuntu-20.04
+        }
+
+
+    runs-on: ${{ matrix.ci.os }}
+    steps:
+
+    - name: 'Install'
+      run: |
+        set -e
+        uname -a
+        sudo -E apt-get update
+        sudo -E apt-get -yq --no-install-suggests --no-install-recommends install make ${{ matrix.ci.packages }}
+
+    - name: 'Check Out'
+      uses: actions/checkout at v2
+
+    - name: 'Build'
+      run: |
+        set -e
+        if [ ${{ matrix.ci.build }} == 'cmake' ];
+        then
+          mkdir build.cmake
+          cd build.cmake
+          cmake --version
+          cmake -DCMAKE_CXX_COMPILER=${{ matrix.ci.compiler }} -DCMAKE_CXX_STANDARD=${{ matrix.ci.cxxstd }} -DBUILD_DOCUMENTATION=YES -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
+          make
+          cmake --build . --target docs
+          ctest --output-on-failure .
+        else
+          set -e
+          ./autogen.sh
+          mkdir build.autotools
+          cd build.autotools
+          CFLAGS="-std=c++${{ matrix.ci.cxxstd }} -m${{ matrix.ci.arch }}"
+          ../configure CC=${{ matrix.ci.compiler }} CXX=${{ matrix.ci.compiler }} CXXFLAGS="$CFLAGS" CFLAGS="$CFLAGS"
+          make && make check && make distcheck
+        fi
+
+
+

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

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


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list