From 4e7ee75dae895ce55f82ef604f3d253aca033271 Mon Sep 17 00:00:00 2001
From: Ashley Cui <acui@redhat.com>
Date: Fri, 4 Sep 2020 14:11:45 -0400
Subject: [CI:DOCS] Add macos build to ci

Adding a mac build to ci for native builds

Signed-off-by: Ashley Cui <acui@redhat.com>
---
 .cirrus.yml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 1bf35e142..367d9e770 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -154,7 +154,7 @@ container_image_build_task:
     depends_on:
         - "gating"
 
-    # Only run for PRs, quay.io will automatically build after bramch-push
+    # Only run for PRs, quay.io will automatically build after branch-push
     only_if: $CIRRUS_BRANCH != $DEST_BRANCH
 
     matrix:
@@ -736,6 +736,7 @@ success_task:
         - "verify_test_built_images"
         - "docs"
         - "static_build"
+        - "darwin_build"
 
     env:
         CIRRUS_WORKING_DIR: "/usr/src/libpod"
@@ -784,3 +785,18 @@ static_build_task:
 
     binaries_artifacts:
         path: "result/bin/podman"
+
+
+darwin_build_task:
+    depends_on:
+        - "gating"
+    osx_instance:
+        image: catalina-base
+    setup-script:
+        - brew install go
+        - brew install go-md2man
+    build-script:
+        - make podman-remote-darwin
+        - make install-podman-remote-darwin-docs
+    binaries_artifacts:
+        path: "bin/podman-remote-darwin"
-- 
cgit v1.2.3-54-g00ecf