Skip to content

Add CI, installers and the 0.1.0 release - #1

Merged
vinniefalco merged 2 commits into
cppalliance:masterfrom
vinniefalco:master
Nov 22, 2026
Merged

vinniefalco merged 2 commits into
cppalliance:masterfrom
vinniefalco:master

Conversation

@vinniefalco

@vinniefalco vinniefalco commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

This pull request set up CI. Its two commits landed on master directly, so that the first workflow run could start, and the installer work continues in #2.

What it holds

  • README: CI, license and platforms badges, and two concept renders from the design phase in images/.
  • CI: .github/workflows/ci.yml runs format, clippy, the tests on Linux, Windows and macOS, the docs build, the UI checks, cargo deny and cargo audit. ci-green is the one check to require.
  • Dependency policy: deny.toml for cargo deny check.

What moved to #2

  • crates/pedagogue-installer, run as cargo installer, which builds the installers for Windows, macOS and Linux.
  • The version bump to 0.1.0, with a changelog.
  • .github/workflows/release.yml, which builds and checks the installers on a pull request and publishes them on a vX.Y.Z tag.

The repository page must show the build state and what the app looks like. `README.md` gets three badge lines above the title and two pictures below the opening paragraph. The two pictures are new files in `images/`.

- The alt text and a caption line identify the pictures as design concepts, because they are renders and not screenshots of the app.
- The pictures use relative links, so they also show in a local checkout.
- The CI badge names the workflow file `ci.yml`. This change does not add that file.

Plan: .cursor/plans/pedagogue_ci_and_release_9980d68c.plan.md
A pull request must pass the same checks that a developer runs locally. `.github/workflows/ci.yml` runs them on each pull request and on each push to `master`. `deny.toml` configures `cargo deny check` for advisories, licenses, bans and sources.

- Each job has the condition `!github.event.repository.fork`, so a fork skips every job and the checks run only in the repository that receives the pull request.
- The jobs that compile the workspace run `npm ci` in `ui/` first, because the build script of the server bundles the UI. On Linux they run on `ubuntu-22.04` and install `libwebkit2gtk-4.1-dev`, `libssl-dev` and `librsvg2-dev`.
- `test` runs on Linux, Windows and macOS. It builds the tests with `--no-run` in a step of its own, and its last step fails when `git status --porcelain` reports a change.
- `ci-green` needs every other job and fails when one of them did not succeed, so one check can be required in branch protection.
- `Swatinem/rust-cache` and `taiki-e/install-action` are pinned by commit. `actions/checkout@v4` and `actions/setup-node@v4` are pinned by tag.
- `deny.toml` permits crates.io as the only source. A reviewed advisory goes into its `ignore` list.
- No job checks feature combinations or a minimum Rust version, and no job validates the HTML files.

Plan: .cursor/plans/pedagogue_ci_and_release_9980d68c.plan.md
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@vinniefalco vinniefalco reopened this Nov 22, 2026
@vinniefalco
vinniefalco merged commit 8830a41 into cppalliance:master Nov 22, 2026
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.

1 participant