You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpustack/hack/ci.sh

25 lines
368 B

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
source "${ROOT_DIR}/hack/lib/init.sh"
function ci() {
make install "$@"
make lint "$@"
make test "$@"
make validate "$@"
make build "$@"
}
#
# main
#
gpustack::log::info "+++ CI +++"
ci "$@"
gpustack::log::info "--- CI ---"