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.
This pull request significantly restructures and consolidates the build and validation workflows for the project. The changes involve removing redundant workflows and creating a new unified workflow that handles multiple build and validation methods. The most important changes are summarized below:
Workflow Consolidation and Simplification:
Removed Redundant Workflows: The
build-check.yaml,build.yaml, anddockerfile-check.yamlworkflows were removed to streamline the CI/CD process. [1] [2] [3]New Unified Workflow: Introduced a new
validate-build.yamlworkflow that consolidates the functionality of the removed workflows. This new workflow uses a matrix strategy to run different types of build and validation tests, ensuring a more efficient and organized CI/CD pipeline.Key Features of the New Workflow:
Matrix Strategy for Testing: The new workflow uses a matrix strategy to run both direct build and Dockerfile build methods, allowing for parallel execution and better test coverage.
Common Setup Steps: Shared setup steps for both build methods, including environment setup and repository checkout, to reduce redundancy and maintain consistency.
Build and Validation Steps: Separate steps for direct build and Dockerfile build methods, including dependency installation, ISO build, and validation checks. This ensures that both methods are thoroughly tested.
Cleanup and Reporting: Added cleanup steps and status reporting to ensure that resources are properly managed and the build status is clearly communicated.