Skip to content

ci: adopt zackees/ci.yml cpp ecosystem; bump ci-lint pin to 1a970f0 - #29

Merged
zackees merged 1 commit into
masterfrom
ci/adopt-ci-yml-cpp
Oct 9, 2026
Merged

zackees merged 1 commit into
masterfrom
ci/adopt-ci-yml-cpp

Conversation

@zackees

@zackees zackees commented Oct 9, 2026

Copy link
Copy Markdown
Member

Adopts forge-ci/ci.yml#393 (C/C++ support, merged in forge-ci/ci.yml#395). The new pin also brings forge-ci/ci.yml#394 (fixes for the GATE-008 and GATE-012 false positives reported in #13).

Changes

  • Bumps the zackees/ci.yml pin from 70e8fefe414840ec786a24b71c82c55731e4f8cc to 1a970f01574447d681571ff3d0b8de56cb983dcc in:
    • build-project.yaml (the ci-mode checkout)
    • local-gate.toml
    • AGENTS.md
    • rust/README.md
  • ci-attestations.yml: renames the Tier 2 gate from general/linux-x64/tier2 to cpp/linux-x64/tier2. The naming follows ci.yml's new docs/policy-cpp.md: cpp/<all|os-arch|triple>/<check>.
  • The tier2-linux lane declares tools = ["docker"], which ci-lint does not recognize, so the lane still gets every ecosystem's pins. That set now includes the C/C++ pins: CMakeLists.txt, cmake/**, *.cmake, CMakePresets.json, buildspec.json, .gitmodules, .clang-format, and so on. The compiler identity comes from the Docker image, not the host.

Verification

  • ci-lint local-gate lint --repo . at the new pin: 0 violation(s), 0 other finding(s).
  • ./lint passed. ./unittest passed (rust-test and tier2-linux; the libobs export diff was identical at 1752 symbols).
  • ci-lint local-gate run at the new pin stamped the head with Ci-Attestation trailers for rust/all/fmt, rust/x86_64-unknown-linux-gnu/clippy, rust/x86_64-unknown-linux-gnu/test and cpp/linux-x64/tier2.

This PR edits the workflow and gate surfaces, and [gate.trust] is read from the PR base, where the gate is still named general/.... Its own run will therefore not skip the Linux unit-test jobs. That is expected.

Refs #13, forge-ci/ci.yml#393

- Bump the zackees/ci.yml pin 70e8fefe -> 1a970f01 (ci.yml#394's
  GATE-008/GATE-012 false-positive fixes and #395's C/C++ support) in
  build-project.yaml's ci-mode job, local-gate.toml, AGENTS.md and
  rust/README.md.
- Rename the Tier 2 C/C++ gate general/linux-x64/tier2 ->
  cpp/linux-x64/tier2 now that ci.yml has a `cpp` attestation ecosystem.
  The tier2-linux lane (tools = ["docker"]) keeps every ecosystem's pins,
  which now include the C/C++ ones (CMakeLists.txt, cmake/**, *.cmake,
  CMakePresets.json, buildspec.json, .gitmodules, .clang-format, ...).

Local-Gate: v1 tree=a204f91530715cbc8e13b1195625cfdfbebfde75 secs=33 lanes=lint:run,rust-test:run,tier2-linux:run
Ci-Attestation: {"at":1791533277,"gate":"rust/all/fmt","host":"linux-x86_64","key":"fa25ffd682cb32394fd96ba8f6b29e22c5fefc17bf083352f50b39c19b6a801a","lane":"lint","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":15,"stamp":"8be9ee93b32c56db6aa11322953191de","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"}
Ci-Attestation: {"at":1791533277,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"fa25ffd682cb32394fd96ba8f6b29e22c5fefc17bf083352f50b39c19b6a801a","lane":"lint","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":15,"stamp":"16987229b79c947bbd19aa203567a23a","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"}
Ci-Attestation: {"at":1791533277,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"94b53c2bda8833cf673aa803f90819266fc399e55f90e0706552ed11a49a03e4","lane":"rust-test","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":3,"stamp":"95d2ac611e1694ea572f3395b5c13f57","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"}
Ci-Attestation: {"at":1791533277,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"e570c91356ec587730ee842b146d1786ea7b5594c99d7a2093ece6323cf4f4de","lane":"tier2-linux","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":14,"stamp":"a445152a077a59b60667e9e20e1244be","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"}
@zackees
zackees merged commit 280e1e0 into master Oct 9, 2026
22 checks passed
@zackees
zackees deleted the ci/adopt-ci-yml-cpp branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant