Skip to content

Commit

Permalink
[libc++] Trigger the buildkite CI only if stages 1 and 2 already passed
Browse files Browse the repository at this point in the history
  • Loading branch information
philnik777 committed Jan 23, 2024
1 parent 40a631f commit b98a770
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,6 @@ function check-targets() {

# Project specific pipelines.

# If libc++ or one of the runtimes directories changed.
if echo "$modified_dirs" | grep -q -E "^(libcxx|libcxxabi|libunwind|runtimes|cmake)$"; then
cat <<EOF
- trigger: "libcxx-ci"
build:
message: "${buildMessage}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"
EOF
fi

# If clang changed.
if echo "$modified_dirs" | grep -q -E "^(clang)$"; then
cat <<EOF
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,14 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*
buildkite-stage:
if: github.repository_owner == 'philnik777'
runs-on: ubuntu-latest
continue-on-error: false
steps:
- name: Trigger Buildkite Pipeline
uses: buildkite/[email protected]
with:
buildkite_api_access_token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }}
pipeline: "llvm-project/libcxx-ci"
ignore_pipeline_branch_filter: true
Empty file added libcxx/include/libcxx_trigger
Empty file.

0 comments on commit b98a770

Please sign in to comment.