[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0alpha1-78-g09d0f62d2

git at osgeo.org git at osgeo.org
Thu Jun 16 14:02:31 PDT 2022


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, master has been updated
       via  09d0f62d29bf23a0eab9741bf60e1e5b84da73ff (commit)
       via  75e4d91e53000480729b301d706f722342fd505f (commit)
      from  2316ccccf74aa3dd4f7a7e8a21f818f3001a074f (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 09d0f62d29bf23a0eab9741bf60e1e5b84da73ff
Author: Regina Obe <lr at pcorp.us>
Date:   Thu Jun 16 17:02:25 2022 -0400

    Put back raster regress/Makefile.in but take out the redundant bits

diff --git a/configure.ac b/configure.ac
index 86feb8c47..695077429 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1537,6 +1537,7 @@ if test "x$with_raster" != "xno"; then
 		raster/loader/Makefile \
 		raster/test/Makefile \
 		raster/test/cunit/Makefile \
+		raster/test/regress/Makefile \
 		raster/scripts/Makefile \
 		raster/scripts/python/Makefile"
 
diff --git a/raster/test/regress/Makefile.in b/raster/test/regress/Makefile.in
new file mode 100644
index 000000000..5232d425e
--- /dev/null
+++ b/raster/test/regress/Makefile.in
@@ -0,0 +1,68 @@
+#############################################################################
+#
+# Copyright (c) 2009-2022 Sandro Santilli <strk at kbt.io>
+# Copyright (c) 2009 Pierre Racine <pierre.racine at sbf.ulaval.ca>
+# Copyright (c) 2011 Jorge Arevalo <jorge.arevalo at deimos-space.com>
+# Copyright (c) 2011-2013 Regents of the University of California
+#   <bkpark at ucdavis.edu>
+#
+# This is free software; you can redistribute and/or modify it under
+# the terms of the GNU General Public Licence. See the COPYING file.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+#############################################################################
+
+top_srcdir = @top_srcdir@
+srcdir = @srcdir@
+top_builddir = @top_builddir@
+
+POSTGIS_SRC=../../..
+PERL=@PERL@
+
+# MingW hack: rather than use PGSQL_BINDIR directly, we change
+# to the directory and then use "pwd" to return the path. This
+# ensures that the returned path is in MSYS format, otherwise
+# colons in drive letters will break PATH.
+PGSQL_BINDIR=$(shell cd "@PGSQL_BINDIR@" && pwd)
+
+# Where we put our regression installation
+REGRESS_INSTALLDIR = $(realpath $(top_builddir) )/regress/00-regress-install
+
+#
+# Put path from pg_config into front of search path
+#
+PATH := $(PGSQL_BINDIR):$(PATH)
+export PATH
+
+all:
+	@echo "Use 'make check' to run all tests"
+
+distclean: clean
+	rm -f Makefile
+
+clean:
+	$(RM) -f rtpostgis.sql
+
+rtpostgis.sql: ../../rt_pg/rtpostgis.sql
+	$(PERL) -lpe "s'\\\$$libdir'$(REGRESS_INSTALLDIR)/lib'g" $< > $@
+
+
+# TODO: drop this variable, use top_srcdir directly
+topsrcdir = $(top_srcdir)
+
+include $(srcdir)/tests.mk
+include $(top_srcdir)/regress/runtest.mk
+
+check: check-regress

commit 75e4d91e53000480729b301d706f722342fd505f
Author: Regina Obe <lr at pcorp.us>
Date:   Thu Jun 16 15:54:15 2022 -0400

    Put back mingw64 testing

diff --git a/.github/workflows/msys.yml b/.github/workflows/msys.yml
new file mode 100644
index 000000000..23555e7df
--- /dev/null
+++ b/.github/workflows/msys.yml
@@ -0,0 +1,53 @@
+name: MSYS2
+on: [push, pull_request]
+
+jobs:
+  mingw:
+    name: mingw
+    runs-on: windows-latest
+    strategy:
+      matrix:
+        #fail-fast: false
+        include:
+          # mingw32 fail: addface
+          - { icon: '🟦', sys: mingw64 }
+          - { icon: '🟨', sys: ucrt64  } # Experimental!
+          - { icon: '🟧', sys: clang64 } # Experimental!
+    defaults:
+      run:
+        shell: msys2 {0}
+    steps:
+      # see https://github.com/msys2/setup-msys2
+    - name: checkout
+      uses: actions/checkout at v2
+    - name: '${{ matrix.icon }} Setup MSYS2'
+      uses: msys2/setup-msys2 at v2
+      with:
+        msystem: ${{ matrix.sys }}
+        update: true
+        install: >-
+          git
+          make
+          bison
+        pacboy: >-
+          toolchain:p
+          autotools:p
+          geos:p
+          proj:p
+          gdal:p
+          sfcgal:p
+          json-c:p
+          gettext:p
+          libxml2:p
+          postgresql:p
+
+    - name: '🚧 Build TOOL'
+      run: |
+        MSYSTEM= /${{ matrix.sys }}/bin/initdb -D D:/a/_tmp/psql
+        MSYSTEM= /${{ matrix.sys }}/bin/pg_ctl -D D:/a/_tmp/psql -l logfile start
+        MSYSTEM= /${{ matrix.sys }}/bin/pg_ctl register -N "postgresql" -U "NT AUTHORITY\NetworkService" -D D:/a/_tmp/psql -w -S demand
+        MSYSTEM= /${{ matrix.sys }}/bin/createuser -U `whoami` -s postgres
+        MSYSTEM= ./autogen.sh
+        MSYSTEM= ./configure --with-pgconfig=/${{ matrix.sys }}/bin/pg_config --without-protobuf
+        MSYSTEM= make
+        MSYSTEM= make check

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

Summary of changes:
 .github/workflows/msys.yml      | 53 ++++++++++++++++++++++++++++++++
 configure.ac                    |  1 +
 raster/test/regress/Makefile.in | 68 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 122 insertions(+)
 create mode 100644 .github/workflows/msys.yml
 create mode 100644 raster/test/regress/Makefile.in


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list