chore: updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

* added separate `pull-image` step to accurately show how much pure
  build takes (without the time it takes to pull a fresh image)
This commit is contained in:
surtur 2020-08-31 17:18:15 +02:00
parent 964722949e
commit 4d846250b3
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -6,9 +6,20 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: build - name: pull-image
pull: always pull: always
image: immawanderer/archlinux-cdev:latest 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: commands:
- cmake CMakeLists.txt - cmake CMakeLists.txt
- make - make