]> git.ipfire.org Git - thirdparty/git.git/commitdiff
CI: add FreeBSD CI support via Cirrus-CI
authorEd Maste <emaste@FreeBSD.org>
Fri, 20 Dec 2019 02:11:45 +0000 (02:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Dec 2019 20:09:12 +0000 (12:09 -0800)
Currently testing on FreeBSD 12.1.

Signed-off-by: Ed Maste <emaste@FreeBSD.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.cirrus.yml [new file with mode: 0644]

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644 (file)
index 0000000..c2f5fe3
--- /dev/null
@@ -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'