Skip to content

CI: consolidate three separate rebuilds into one release build with ccache#25

Merged
adsharma merged 3 commits into
mainfrom
ci/single-release-build-with-ccache
Jul 4, 2026
Merged

CI: consolidate three separate rebuilds into one release build with ccache#25
adsharma merged 3 commits into
mainfrom
ci/single-release-build-with-ccache

Conversation

@adsharma

@adsharma adsharma commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Fixes: #24

Replace the three separate cmake configure+build cycles (extension-release, relwithdebinfo, extension-test-build) with a single Release-mode build that includes extensions, extension tests, base tests, and the shell.

Pass release to generate-tinysnb.py so it picks the right build dir. Also update test_helper.py in the ladybug repo to read LBUG_BUILD_TYPE from the environment (defaults to relwithdebinfo).

adsharma added 3 commits July 4, 2026 09:04
…cache

Replace the three separate cmake configure+build cycles (extension-release,
relwithdebinfo, extension-test-build) with a single Release-mode build
that includes extensions, extension tests, base tests, and the shell.

Pass `release` to generate-tinysnb.py so it picks the right build dir.
Also update test_helper.py in the ladybug repo to read LBUG_BUILD_TYPE
from the environment (defaults to relwithdebinfo).

Fixes #24
… extension-test

The test step now runs both ctest commands that  runs:
1. python3 scripts/run_pgembed_fixture.py -- ctest --test-dir build/release/test/runner ...
2. ctest --test-dir build/release/extension ...
Avoids depending on the system Python version in the manylinux
container. Also keeps from __future__ import annotations in the
script itself as a safety net for older Python.
@adsharma adsharma merged commit 64ff88b into main Jul 4, 2026
2 checks passed
@adsharma adsharma deleted the ci/single-release-build-with-ccache branch July 4, 2026 17:21
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.

More efficient CI

1 participant