summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-12-20 02:11:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-20 20:09:12 (GMT)
commitb5a9d7afcd46e9beb0cb74d6ae361899532bc28a (patch)
treeae97bc85af4a1b2947b4fe2d7a67c0ba710bdba0 /.cirrus.yml
parent53a06cf39b756eddfe4a2a34da93e3d04eb7b728 (diff)
downloadgit-b5a9d7afcd46e9beb0cb74d6ae361899532bc28a.zip
git-b5a9d7afcd46e9beb0cb74d6ae361899532bc28a.tar.gz
git-b5a9d7afcd46e9beb0cb74d6ae361899532bc28a.tar.bz2
CI: add FreeBSD CI support via Cirrus-CI
Currently testing on FreeBSD 12.1. Signed-off-by: Ed Maste <emaste@FreeBSD.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 0000000..c2f5fe3
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,15 @@
+env:
+ CIRRUS_CLONE_DEPTH: 1
+
+freebsd_12_task:
+ freebsd_instance:
+ image: freebsd-12-1-release-amd64
+ install_script:
+ pkg install -y gettext gmake perl5
+ create_user_script:
+ - pw useradd git
+ - chown -R git:git .
+ build_script:
+ - su git -c gmake
+ test_script:
+ - su git -c 'gmake test'