Skip to content

Commit b0cdc66

Browse files
committed
ci: add concurrency to cancel stale runs; make macos-intel non-blocking for publish due to long GitHub Intel macOS queues (8h+). Other wheels will publish promptly.
1 parent be5a657 commit b0cdc66

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
permissions:
2020
contents: read
2121

22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
25+
2226
env:
2327
# Build without OpenCL (SDK not on runners). CUDA is runtime-loaded via
2428
# libloading so no CUDA toolkit is needed at build time.
@@ -225,7 +229,9 @@ jobs:
225229
startsWith(github.ref, 'refs/tags/v') &&
226230
github.repository == 'GuillaumeLessard/qector-decoder' &&
227231
github.event_name != 'pull_request'
228-
needs: [linux-x86_64, windows-x64, macos-arm, macos-intel]
232+
needs: [linux-x86_64, windows-x64, macos-arm]
233+
# Note: macos-intel (x86_64 on macos-13) is built but not required for publish
234+
# due to long GitHub runner queues for Intel macOS. Artifacts can be attached manually if needed.
229235
environment: pypi
230236
permissions:
231237
id-token: write

0 commit comments

Comments
 (0)