All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Maste <emaste@FreeBSD.org>
To: git mailing list <git@vger.kernel.org>
Cc: "brian m . carlson" <sandals@crustytoothpaste.net>,
	Ed Maste <emaste@FreeBSD.org>
Subject: [PATCH v2] CI: add FreeBSD CI support via Cirrus-CI
Date: Fri, 20 Dec 2019 02:11:45 +0000	[thread overview]
Message-ID: <20191220021145.47235-1-emaste@FreeBSD.org> (raw)
In-Reply-To: <20191125203740.72249-1-emaste@freefall.freebsd.org>

Currently testing on FreeBSD 12.1.

Signed-off-by: Ed Maste <emaste@FreeBSD.org>
---
Since v1, create an unprivileged user and build/test using that user.
CI run with this change: https://cirrus-ci.com/task/6565294088126464

 .cirrus.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .cirrus.yml

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 0000000000..c2f5fe385a
--- /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'
-- 
2.24.0


      parent reply	other threads:[~2019-12-20  2:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 20:37 [PATCH] ci: add Cirrus-CI config for FreeBSD CI Ed Maste
2019-11-26  0:44 ` brian m. carlson
2019-11-26 13:31   ` Ed Maste
2019-11-27 14:01   ` Ed Maste
2019-11-27 15:17     ` Ed Maste
2019-12-20  2:11 ` Ed Maste [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191220021145.47235-1-emaste@FreeBSD.org \
    --to=emaste@freebsd.org \
    --cc=git@vger.kernel.org \
    --cc=sandals@crustytoothpaste.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.