Skip to content

Commit e69bd3d

Browse files
author
petlenz
committed
sanitize job: install g++-14 explicitly; document queued-run coalescing on main (review follow-up)
1 parent ff82f7d commit e69bd3d

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ on:
1414
permissions:
1515
contents: read
1616

17-
# Cancel superseded PR runs; never cancel main/scheduled runs.
17+
# Cancel superseded PR runs. Non-PR runs (push to main, schedule) share a
18+
# group with cancel-in-progress off — note GitHub still coalesces QUEUED
19+
# runs in a group, so rapid successive pushes to main may skip CI for
20+
# intermediate commits (only the newest queued run executes); acceptable
21+
# at this repo's merge cadence.
1822
concurrency:
1923
group: ${{ github.workflow }}-${{ github.ref }}
2024
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
@@ -89,6 +93,14 @@ jobs:
8993
steps:
9094
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9195

96+
# Same explicit install as the matrix job — don't assume the runner
97+
# image ships g++-14 (it does today; image rotations are exactly the
98+
# bit-rot the weekly schedule watches for).
99+
- name: Install compiler
100+
run: |
101+
sudo apt-get update
102+
sudo apt-get install -y g++-14
103+
92104
- name: Configure
93105
env:
94106
CC: gcc-14

0 commit comments

Comments
 (0)