aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-04-10 06:58:25 +0200
committerGitHub <noreply@github.com>2019-04-10 06:58:25 +0200
commitba57407aa9fcc4ec586f291ad47ef3b71b96def1 (patch)
tree716135d3c24c509d0fea9d383845871fee417c32
parentb6bacc64045cd1c01e8405e35d11a98c014945f5 (diff)
parentb72cf59b3cbc2a106ed842829e7bb3e9d67ec56b (diff)
downloadPROJ-ba57407aa9fcc4ec586f291ad47ef3b71b96def1.tar.gz
PROJ-ba57407aa9fcc4ec586f291ad47ef3b71b96def1.zip
Merge pull request #1419 from OSGeo/backport-1413-to-6.0
[Backport 6.0] Add Cirrus CI with FreeBSD
-rw-r--r--.cirrus.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 00000000..5d440f83
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,30 @@
+# Cirrus CI configuration
+
+task:
+ name: FreeBSD
+ freebsd_instance:
+ matrix:
+ image: freebsd-12-0-release-amd64
+# image: freebsd-11-2-release-amd64
+# image: freebsd-10-4-release-amd64
+
+ env:
+ CIRRUS_CLONE_DEPTH: 1
+ MAKE_FLAGS: -j 2
+
+ cache:
+ folder: $HOME/.ccache
+
+ pkginstall_script:
+ - pkg install -y autoconf automake libtool pkgconf sqlite3 wget unzip ccache gmake
+ download_grid_script:
+ - wget http://download.osgeo.org/proj/proj-datumgrid-1.8.zip
+ - (cd data && unzip -o ../proj-datumgrid-1.8.zip)
+ configure_script:
+ - ./autogen.sh
+ - CC="ccache cc" CXX="ccache c++" ./configure --disable-static
+ compile_script:
+ - gmake $(MAKE_FLAGS)
+ test_script:
+ - gmake check $(MAKE_FLAGS)
+