Skip to content

ci: optional macOS build-and-test leg (input for extra runner OSes) #585

Done

Description

@Shinrai

workflow-ci.yml runs everything on one runner (runs_on, default ubuntu-latest). Some repos build things that depend on the host platform and need a permanent check that the build still works on macOS. lib-sqlite-wasm is the first: scripts/build-wasm.mjs downloads a per-platform wasi-sdk and binaryen (darwin-x64 and darwin-arm64 are pinned in sqlite.version.json) and runs SQLite's generators with the host make and cc. A throwaway workflow showed it builds and passes npm test on macos-latest (arm64) and macos-15-intel today (CLDMV/lib-sqlite-wasm#10, closed), but nothing keeps it that way.

Please add an optional input, e.g.:

extra_build_os: '["macos-latest", "macos-15-intel"]'   # default: '[]' (off)

When it's set, a separate 🍎 Build & Test (<os>) job runs per entry: checkout, setup-node (newest LTS), npm ci, the repo's build command (build_command), then test_command. No coverage, badge, lint or matrix over Node versions; one Node version per OS is enough.

Notes:

  • macOS runners are scarce (5 of the org's concurrent hosted jobs on the Free plan), so keep it one job per OS and cancellable with the rest of the run. Don't make it run on the docs-only path (paths-gate).
  • Include the jobs in Required PR Check's aggregate when the input is set, so a broken macOS build blocks the merge the same way a Linux failure does.
  • lib-sqlite-wasm will set extra_build_os in its ci.yml once this ships.

Activity

  1. added
    priority: medium
    type: feature
    status: not started
    status: in progress
    and removed
    status: not started
    on Nov 26, 2026
  2. added
    status: implemented
    and removed
    status: in progress
    on Nov 26, 2026
  3. cldmv-bot commented on Nov 26, 2026

    @cldmv-bot
    Contributor

    Marked status: implemented — resolved by #587, merged into next. This issue closes automatically when that work ships to the default branch.

  4. cldmv-bot commented on Nov 27, 2026

    @cldmv-bot
    Contributor

    Closed in v4.46.0 — resolved by #587.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: implementedtype: feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions