aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2022-09-26 17:12:35 -0400
committerAshley Cui <acui@redhat.com>2022-09-26 17:24:35 -0400
commit53d604182f8a9ebb5ca57172184cc501a94aa48b (patch)
tree9a0dfd49d35bf35afd188923d333e979f1b68802 /.cirrus.yml
parentcad59a12b9b390bbebbd64586dbb4028750858cc (diff)
downloadpodman-53d604182f8a9ebb5ca57172184cc501a94aa48b.tar.gz
podman-53d604182f8a9ebb5ca57172184cc501a94aa48b.tar.bz2
podman-53d604182f8a9ebb5ca57172184cc501a94aa48b.zip
Cirrus: Build pkginstaller in CI
Build unsigned pkginstaller in OSX Cross CI task & upload as an artifact. Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index c14e38771..d7b763f6d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -470,6 +470,10 @@ osx_alt_build_task:
- make podman-remote-release-darwin_amd64.zip GOARCH=amd64
build_arm64_script:
- make podman-remote-release-darwin_arm64.zip GOARCH=arm64
+ build_pkginstaller_script:
+ - cd contrib/pkginstaller
+ - make ARCH=amd64 NO_CODESIGN=1 pkginstaller
+ - make ARCH=aarch64 NO_CODESIGN=1 pkginstaller
# This task cannot make use of the shared repo.tbz artifact and must
# produce a new repo.tbz artifact for consumption by 'artifacts' task.
repo_prep_script: *repo_prep
@@ -1093,6 +1097,7 @@ artifacts_task:
- $ARTCURL/OSX%20Cross/repo/repo.tbz
- tar xjf repo.tbz
- mv ./podman-remote-release-darwin_*.zip $CIRRUS_WORKING_DIR/
+ - mv ./contrib/pkginstaller/out/podman-installer-macos-*.pkg $CIRRUS_WORKING_DIR/
always:
contents_script: ls -la $CIRRUS_WORKING_DIR
# Produce downloadable files and an automatic zip-file accessible