Skip to content

Build only the fast Linux targets on feature-branch PRs - #240

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:tooling/fast-feature-pr-ci
Jul 31, 2026
Merged

Build only the fast Linux targets on feature-branch PRs#240
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:tooling/fast-feature-pr-ci

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Cuts per-PR CI feedback dramatically. pull_request runs of the distribution pipeline exclude the three emscripten Wasm cross-compiles and the two macOS builds, leaving the fast Linux amd64 + arm64 targets. The full matrix (Wasm + macOS) runs on push to main and on workflow_dispatch, so every platform is validated ahead of a release/deploy — just not on every push to a feature branch.

Why it matters: the MEOS vcpkg port rebuilds libmeos and its heavy dependencies (GEOS/PROJ/GDAL) from source on every run (it tracks master's tip, no pin), and cross-compiling those for the three Wasm triplets dominates CI time — a feature PR otherwise spends ~45–60 min mostly on Wasm/macOS. The Linux-only path lands per-PR feedback in ~12–15 min.

The deploy job mirrors the same per-event exclusion so it gathers exactly the artifacts the build produces.

This unblocks the remaining MobilityDuck alpha PRs, each of which otherwise pays the full-matrix cost on every push/rebase.

pull_request runs of the distribution pipeline now exclude the three
emscripten Wasm cross-compiles and the two macOS builds, leaving the fast
Linux amd64+arm64 targets. The full matrix (Wasm + macOS) still runs on push
to main and on workflow_dispatch, so every platform is validated ahead of a
release/deploy.

The MEOS vcpkg port rebuilds libmeos and its heavy dependencies
(GEOS/PROJ/GDAL) from source on every run, and cross-compiling those for the
three Wasm triplets dominates CI time — so per-PR feedback drops from tens of
minutes to a few. The deploy job mirrors the same per-event exclusion so it
gathers exactly the artifacts the build produced.
@estebanzimanyi
estebanzimanyi force-pushed the tooling/fast-feature-pr-ci branch from 0079389 to 6fa2fb7 Compare July 31, 2026 07:42
@estebanzimanyi
estebanzimanyi merged commit c86903d into MobilityDB:main Jul 31, 2026
9 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.

1 participant