[WIP] Add GitLab CI foldable sections to build script#645
Open
adrienbernede wants to merge 6 commits intodevelopfrom
Open
[WIP] Add GitLab CI foldable sections to build script#645adrienbernede wants to merge 6 commits intodevelopfrom
adrienbernede wants to merge 6 commits intodevelopfrom
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.