mirror of
https://github.com/containers/podman.git
synced 2025-10-26 18:54:17 +08:00
[CI:DOCS] Add macos build to ci
Adding a mac build to ci for native builds Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
18
.cirrus.yml
18
.cirrus.yml
@ -154,7 +154,7 @@ container_image_build_task:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- "gating"
|
- "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
|
only_if: $CIRRUS_BRANCH != $DEST_BRANCH
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
@ -736,6 +736,7 @@ success_task:
|
|||||||
- "verify_test_built_images"
|
- "verify_test_built_images"
|
||||||
- "docs"
|
- "docs"
|
||||||
- "static_build"
|
- "static_build"
|
||||||
|
- "darwin_build"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CIRRUS_WORKING_DIR: "/usr/src/libpod"
|
CIRRUS_WORKING_DIR: "/usr/src/libpod"
|
||||||
@ -784,3 +785,18 @@ static_build_task:
|
|||||||
|
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "result/bin/podman"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user