chore: updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
964722949e
commit
4d846250b3
13
.drone.yml
13
.drone.yml
@ -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
|
||||||
|
Reference in New Issue
Block a user