Skip to content

[WIP] Add GitLab CI foldable sections to build script#645

Open
adrienbernede wants to merge 6 commits intodevelopfrom
woptim/ci-logs-and-errors
Open

[WIP] Add GitLab CI foldable sections to build script#645
adrienbernede wants to merge 6 commits intodevelopfrom
woptim/ci-logs-and-errors

Conversation

@adrienbernede
Copy link
Member

Implement collapsible sections in build_and_test.sh to improve CI log
readability. Adds helper functions section_start() and section_end()
to manage GitLab CI section markers, and wraps all major build phases
(dependencies, cmake config, build, test, install) in foldable
sections.

adrienbernede and others added 6 commits February 6, 2026 16:50
- Add timing tracking infrastructure (script_start_time, section_start_times)
- Add section stack for nested section support (section_id_stack, section_counter, section_indent)
- Replace timed_message function with section_start/section_end functions
- Add collapsible sections with timing support for major build steps
- Update output format to use [Information]: prefix
- Wrap dependencies, spack_setup, registry_setup, spack_build, buildcache_push in sections
- Wrap clean, raja_submodule_update, raja_submodules, cmake_config, build, tests in sections
- Comment out cleanup step to match umpire pattern

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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