[libcxx-commits] [libcxx] [llvm] Test Buildkite trigger (PR #166222)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 3 12:00:52 PST 2025


https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/166222

None

>From 45edb889cb47c020777932fa23656e981d6d8256 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Mon, 3 Nov 2025 09:51:50 -1000
Subject: [PATCH 1/2] Define in another workflow so we can use
 pull_request_target

---
 .../workflows/libcxx-trigger-buildkite.yaml   | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 .github/workflows/libcxx-trigger-buildkite.yaml

diff --git a/.github/workflows/libcxx-trigger-buildkite.yaml b/.github/workflows/libcxx-trigger-buildkite.yaml
new file mode 100644
index 0000000000000..d274f027838c7
--- /dev/null
+++ b/.github/workflows/libcxx-trigger-buildkite.yaml
@@ -0,0 +1,37 @@
+# This workflow triggers the Buildkite pipeline for libc++.
+#
+# The Buildkite pipeline implements pre-commit CI checks on platforms
+# where the Github actions runner can't be used.
+
+name: "[libc++] Trigger Buildkite pipeline"
+on:
+  pull_request_target:
+    paths:
+      - 'libcxx/**'
+      - 'libcxxabi/**'
+      - 'libunwind/**'
+      - 'runtimes/**'
+      - 'cmake/**'
+  schedule:
+    # Run nightly at 08:00 UTC (aka 00:00 Pacific, aka 03:00 Eastern)
+    - cron: '0 8 * * *'
+
+permissions:
+  contents: read # Default everything to read-only
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+  cancel-in-progress: true
+
+jobs:
+  trigger_buildkite:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger Buildkite pipeline
+        uses: buildkite/trigger-pipeline-action at f0dcd5ae74452a8d17d473227c9d212dcc1eb8f9 # v2.4.0
+        with:
+          buildkite_api_access_token: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}
+          pipeline: llvm-project/libcxx-ci
+          branch: ${{ github.ref_name }}
+          commit: ${{ github.sha }}
+          message: "Triggered by GitHub Actions PR against ${{ github.ref_name }}"

>From 29444a070e661bff540ca3494baaec5cae131aeb Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Mon, 3 Nov 2025 10:00:02 -1000
Subject: [PATCH 2/2] WIP: Try triggering BuildKite pipeline

---
 libcxx/foo | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 libcxx/foo

diff --git a/libcxx/foo b/libcxx/foo
new file mode 100644
index 0000000000000..e69de29bb2d1d



More information about the libcxx-commits mailing list