summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorWong Hoi Sing Edison <hswong3i@gmail.com>2020-09-11 13:38:37 +0800
committerWong Hoi Sing Edison <hswong3i@gmail.com>2020-09-18 09:42:04 +0800
commit6ad67cd6c16d84cee34a5e101c9ca7ddf7772415 (patch)
tree1fd31b424297205a6955fa5f9a3c5edc7943e80a /.cirrus.yml
parentf84f441bec8d4ad6b6dfce059ca71dbd2b0d9615 (diff)
downloadpodman-6ad67cd6c16d84cee34a5e101c9ca7ddf7772415.tar.gz
podman-6ad67cd6c16d84cee34a5e101c9ca7ddf7772415.tar.bz2
podman-6ad67cd6c16d84cee34a5e101c9ca7ddf7772415.zip
Update nix pin with `make nixpkgs`
Also backport changes from https://github.com/cri-o/cri-o/pull/4065/files#diff-1d37e48f9ceff6d8030570cd36286a61R189-R197 Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 9d220c69a..a11bbbe61 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -594,12 +594,14 @@ static_build_task:
mv .cache /nix
if [[ -z $(ls -A /nix) ]]; then podman run --rm --privileged -ti -v /:/mnt nixos/nix cp -rfT /nix /mnt/nix; fi
podman run --rm --privileged -ti -v /nix:/nix -v ${PWD}:${PWD} -w ${PWD} nixos/nix nix --print-build-logs --option cores 8 --option max-jobs 8 build --file nix/
- mv /nix .cache
- chown -Rf $(whoami) .cache
binaries_artifacts:
path: "result/bin/podman"
+ save_cache_script: |
+ mv /nix .cache
+ chown -Rf $(whoami) .cache
+
darwin_build_task:
depends_on: