xref: /netbsd-src/external/apache2/llvm/dist/libcxx/utils/ci/buildkite-pipeline-snapshot.sh (revision 4d6fc14bc9b0c5bf3e30be318c143ee82cadd108)
1#!/usr/bin/env bash
2#===----------------------------------------------------------------------===##
3#
4# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5# See https://llvm.org/LICENSE.txt for license information.
6# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7#
8#===----------------------------------------------------------------------===##
9
10#
11# This file generates a Buildkite pipeline that triggers the libc++ CI jobs.
12# See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
13#
14# Invoked by CI on full builds.
15#
16
17DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
18cat <<EOF
19steps:
20  - trigger: "libcxx-ci"
21    build:
22      message: "${BUILDKITE_MESSAGE}"
23      commit: "${BUILDKITE_COMMIT}"
24      branch: "${BUILDKITE_BRANCH}"
25EOF
26