Skip to content

Add CI security and quality checks and restore native Forge builds - #1

Merged
minelogy-dev merged 6 commits into
mainfrom
ci/quality-gates
Oct 23, 2026
Merged

minelogy-dev merged 6 commits into
mainfrom
ci/quality-gates

Conversation

@minelogy-dev

@minelogy-dev minelogy-dev commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Adds Linux CI for pull requests and main: explicit GCC 14 / Clang 19 builds, all 20 sanitizer-instrumented tests, strict compiler warnings, GCC static analysis, workflow/script linting, redacted full-history secret scanning, temporary-prefix installation, installed-library/pkg-config regex regression tests, Debian packaging, and CodeQL security-and-quality scans. Versioned and unversioned compiler commands are selected consistently and their major versions are checked, with matching LLVM 19 and sanitizer runtime packages. Toolchain installation uses Ubuntu's official HTTPS mirror, noninteractive package installation, bounded timeouts and retries. Actions are pinned with minimal permissions; Dependabot proposes weekly Action updates. docs/CI.md covers local reproduction and one-time merge protection.

Migrates build.c from the removed os_cstr/sx_t OS interface to the current owned char* interface, fixes an allocation-failure cleanup path, respects the configured compiler, and disables LTO for sanitizer tests. CI bootstraps immutable Forge revision b6826ba762a1e9e337895e01ee604b943c682d23, so this PR does not depend on unpublished Forge changes.

Validation: GitHub Actions CI and CodeQL passed for commit a2e47c3 on Ubuntu 24.04, including GCC 14 / Clang 19 builds, all 20 sanitizer tests and the installed shared-library regex suite with each compiler, installation, Debian packaging, GCC static analysis, Actionlint, ShellCheck and Gitleaks.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@minelogy-dev
minelogy-dev marked this pull request as ready for review October 23, 2026 09:58
Comment thread build.c
Wrap LANGUAGE in do-while (0) for safe statement semantics and document why tests disable LTO with the pinned Forge dependency.

Co-authored-by: Codex <codex@openai.com>
@minelogy-dev
minelogy-dev merged commit 173b3e3 into main Oct 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants