You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#
|
|
|
|
# Author: Hari Sekhon
|
|
|
|
# Date: 2020-03-13 21:10:39 +0000 (Fri, 13 Mar 2020)
|
|
|
|
#
|
|
|
|
# vim:ts=4:sts=4:sw=4:et
|
|
|
|
#
|
|
|
|
# https://github.com/harisekhon/bash-tools
|
|
|
|
#
|
|
|
|
# License: see accompanying Hari Sekhon LICENSE file
|
|
|
|
#
|
|
|
|
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
|
|
|
|
#
|
|
|
|
# https://www.linkedin.com/in/harisekhon
|
|
|
|
#
|
|
|
|
|
|
|
|
# BuildKite Pipeline
|
|
|
|
#
|
|
|
|
# add this command to the UI and it will read the rest of the steps from here:
|
|
|
|
#
|
|
|
|
# - command: buildkite-agent pipeline upload
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- command: |
|
|
|
|
if type apk 2>/dev/null; then
|
|
|
|
apk add --no-cache --no-progress make
|
|
|
|
elif type apt 2>/dev/null; then
|
|
|
|
apt update -q &&
|
|
|
|
apt install -qy make
|
|
|
|
elif type yum 2>/dev/null; then
|
|
|
|
rpm -q make || yum install -y make
|
|
|
|
elif type brew 2>/dev/null; then
|
|
|
|
brew install -y make
|
|
|
|
fi
|
|
|
|
label: install make
|
|
|
|
timeout: 10
|
|
|
|
- wait
|
|
|
|
- command: make init
|
|
|
|
label: init
|
|
|
|
timeout: 2
|
|
|
|
- wait
|
|
|
|
- command: make ci
|
|
|
|
label: build
|
|
|
|
timeout: 60
|
|
|
|
- wait
|
|
|
|
- command: make test
|
|
|
|
label: test
|
|
|
|
timeout: 120
|