From 4d846250b34e41af3f7d1a6bd817f18a4ebaa574 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 31 Aug 2020 17:18:15 +0200 Subject: [PATCH] chore: updated .drone.yml * added separate `pull-image` step to accurately show how much pure build takes (without the time it takes to pull a fresh image) --- .drone.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3e70ee7..aff4bd5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,9 +6,20 @@ platform: arch: amd64 steps: -- name: build +- name: pull-image pull: always image: immawanderer/archlinux-cdev:latest + clone: + disable: true + commands: + - uname -r + - cat /etc/os-release + +- name: build + pull: if-not-exists + image: immawanderer/archlinux-cdev:latest + depends_on: + - pull-image commands: - cmake CMakeLists.txt - make