git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2] CI: add FreeBSD CI support via Cirrus-CI

From
Ed Maste <emaste@freebsd.org>
Date
Dec 20, 2019, 02:11 UTC
Message-ID
<20191220021145.47235-1-emaste@FreeBSD.org>
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
Previous: Ed Maste
Message 6 of 6 in “ci: add Cirrus-CI config for FreeBSD CI”
  1. ci: add Cirrus-CI config for FreeBSD CIEd Maste, Nov 25, 2019
  2. brian m. carlsonNov 26, 2019
  3. Ed MasteNov 26, 2019
  4. Ed MasteNov 27, 2019
  5. Ed MasteNov 27, 2019
  6. CI: add FreeBSD CI support via Cirrus-CIEd Maste, Dec 20, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.