postgis.git / summary / log / commit / refs

commit    43496731fac4325287c18203520ad8fef4792a43
Author:   Loïc Bartoletti <loic.bartoletti@oslandia.com>
Date:     Wed Jun 15 13:11:00 2022 +0000

    [CI][Cirrus] Fix and update FreeBSD CI


.cirrus.yml | 73 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 31cb804b1..cf723417a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,35 +1,42 @@ -# freebsd_instance: -# image: freebsd-12-2-release-amd64 -# cpu: 8 -# memory: 16G +task: + only_if: $BRANCH != 'master' + name: FreeBSD + alias: test-freebsd + env: + MAKE_FLAGS: -j 8 -# task: -# only_if: $BRANCH != 'master' -# install_script: -# - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf -# - ASSUME_ALWAYS_YES=yes pkg bootstrap -f -# - pkg install -y bison postgresql12-server gmake libxml2 autoconf automake libtool pkgconf iconv pcre proj gdal sfcgal geos libxslt cunit protobuf-c json-c postgresql12-contrib + install_script: + - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf + - ASSUME_ALWAYS_YES=yes pkg bootstrap -f + - pkg install -y bison postgresql13-server gmake libxml2 autoconf automake libtool pkgconf iconv pcre proj gdal sfcgal geos libxslt cunit protobuf-c json-c postgresql13-contrib + + patch_script: + # will be removed + - find . -name "*.pl" | xargs sed -i -r 's|/usr/bin/perl|/usr/bin/env perl|' + build_script: + - ./autogen.sh + - ./configure PKG_CONFIG=/usr/local/bin/pkgconf CFLAGS="-isystem /usr/local/include -Wall -fno-omit-frame-pointer -Werror" LDFLAGS="-L/usr/local/lib" --with-libiconv-prefix=/usr/local --without-gui --without-interrupt-tests --with-topology --without-raster --with-sfcgal=/usr/local/bin/sfcgal-config --with-address-standardizer --with-protobuf + - service postgresql oneinitdb + - service postgresql onestart + - su postgres -c "createuser -s `whoami`" + - gmake -j8 + - gmake -j8 check + - gmake -j8 install + - gmake -j8 check RUNTESTFLAGS="-v --extension" + - gmake -j8 check RUNTESTFLAGS="-v --dumprestore" + - service postgresql onestop + + freebsd_instance: + cpu: 8 + memory: 24g + matrix: + # - name: 14-CURRENT + # freebsd_instance: + # image_family: freebsd-14-0-snap + - name: 13.1-RELEASE + freebsd_instance: + image_family: freebsd-13-1 + - name: 12.3-RELEASE + freebsd_instance: + image_family: freebsd-12-3 -# patch_script: -# # will be removed -# - find . -name "*.pl" | xargs sed -i -r 's|/usr/bin/perl|/usr/bin/env perl|' -# configure_script: -# - ./autogen.sh -# - ./configure PKG_CONFIG=/usr/local/bin/pkgconf CFLAGS="-isystem /usr/local/include -Wall -fno-omit-frame-pointer -Werror" LDFLAGS="-L/usr/local/lib" --with-libiconv-prefix=/usr/local --without-gui --without-interrupt-tests --with-topology --without-raster --with-sfcgal=/usr/local/bin/sfcgal-config --with-address-standardizer --with-protobuf -# - service postgresql oneinitdb -# - service postgresql onestart -# - su -l postgres -c "createuser -s `whoami`" -# build_script: -# - gmake -j8 -# check_script: -# - gmake -j8 check -# - gmake -j8 install -# - gmake -j8 check RUNTESTFLAGS="-v --extension" -# - gmake -j8 check RUNTESTFLAGS="-v --dumprestore" -# matrix: -# - name: freebsd12-amd64 -# freebsd_instance: -# image: freebsd-12-2-release-amd64 -# - name: freebsd13-amd64 -# freebsd_instance: -# image: freebsd-13-0-release-amd64 [parent: c31450b6430f]