Skip to content

Commit 6a8c7db

Browse files
Merge pull request #144 from bernardladenthin/claude/pipeline-delay-timer-SwV3q
Add start gate abort window to publish workflow
2 parents 98174fe + 661222b commit 6a8c7db

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,26 @@ permissions:
2727
contents: read
2828
jobs:
2929

30+
# ---------------------------------------------------------------------------
31+
# Start gate — single cancellable abort window before the pipeline starts.
32+
# The wait duration lives in the `startgate` GitHub Environment (Settings →
33+
# Environments → startgate → Wait timer).
34+
# ---------------------------------------------------------------------------
35+
36+
startgate:
37+
name: Start gate (abort window)
38+
runs-on: ubuntu-latest
39+
environment: startgate
40+
steps:
41+
- run: echo "Start gate elapsed — proceeding with pipeline."
42+
3043
# ---------------------------------------------------------------------------
3144
# Cross-compile jobs (Docker / dockcross) — produce release artifacts, no testing
3245
# ---------------------------------------------------------------------------
3346

3447
crosscompile-linux-x86_64-cuda:
3548
name: Cross-Compile manylinux_2_28 x86_64 (CUDA)
49+
needs: startgate
3650
runs-on: ubuntu-latest
3751
outputs:
3852
built: ${{ steps.build.outputs.built }}
@@ -66,6 +80,7 @@ jobs:
6680

6781
crosscompile-linux-x86_64:
6882
name: Cross-Compile manylinux2014 x86_64
83+
needs: startgate
6984
runs-on: ubuntu-latest
7085
steps:
7186
- uses: actions/checkout@v6
@@ -89,6 +104,7 @@ jobs:
89104

90105
crosscompile-linux-aarch64:
91106
name: Cross-Compile Linux aarch64 (LTS)
107+
needs: startgate
92108
runs-on: ubuntu-latest
93109
steps:
94110
- uses: actions/checkout@v6
@@ -112,6 +128,7 @@ jobs:
112128

113129
crosscompile-android-aarch64:
114130
name: Cross-Compile Android aarch64
131+
needs: startgate
115132
runs-on: ubuntu-latest
116133
steps:
117134
- uses: actions/checkout@v6
@@ -139,6 +156,7 @@ jobs:
139156

140157
build-macos-arm64-no-metal:
141158
name: Build and Test macOS 15 arm64 (no Metal)
159+
needs: startgate
142160
runs-on: macos-15
143161
steps:
144162
- uses: actions/checkout@v6
@@ -169,6 +187,7 @@ jobs:
169187

170188
build-macos-arm64-metal:
171189
name: Build and Test macOS 14 arm64 (Metal)
190+
needs: startgate
172191
runs-on: macos-14
173192
steps:
174193
- uses: actions/checkout@v6
@@ -199,6 +218,7 @@ jobs:
199218

200219
build-windows-x86_64:
201220
name: Build and Test Windows 2025 x86_64 (VS 2026)
221+
needs: startgate
202222
runs-on: windows-2025-vs2026
203223
steps:
204224
- uses: actions/checkout@v6
@@ -227,6 +247,7 @@ jobs:
227247

228248
build-windows-x86:
229249
name: Build and Test Windows 2025 x86 (VS 2026)
250+
needs: startgate
230251
runs-on: windows-2025-vs2026
231252
steps:
232253
- uses: actions/checkout@v6
@@ -259,6 +280,7 @@ jobs:
259280

260281
test-cpp-linux-x86_64:
261282
name: C++ Tests Ubuntu Latest x86_64
283+
needs: startgate
262284
runs-on: ubuntu-latest
263285
steps:
264286
- uses: actions/checkout@v6
@@ -282,6 +304,7 @@ jobs:
282304

283305
test-macos-arm64-metal-15:
284306
name: Build and Test macOS 15 arm64 (Metal)
307+
needs: startgate
285308
runs-on: macos-15
286309
steps:
287310
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)