The CI Support Package for Simulink® helps you define and generate your continuous integration pipeline, prequalify on your desktop to minimize build failures, and execute incremental builds on your CI system.
The support package provides:
- Customizable process modeling system to define your build and verification process
- Build system to generate a pipeline of tasks and perform optimized builds in your CI system
- Process Advisor app to deploy and automate your prequalification process
- Integration with CI systems such as Jenkins, GitLab, GitHub Actions, and Azure DevOps
Define Build and Verification Processes
The process modeling system lets you define the steps of your build and verification process for Model-Based Design. The system enables automation and establishes a consistent process that can be deployed to engineers in your team and the CI system. A customizable process model for Model-Based Design is provided with the support package, featuring common tasks such as checking modeling standards, running tests, and generating code. Custom tasks can also be created and integrated into the process model to support third-party tools.
Generate Pipelines and Perform Incremental Builds
The build system uses the process model to analyze your project and generate a pipeline of tasks for execution on both your CI system and desktop. It offers a consistent API accessible in both environments. By detecting changes and performing incremental builds, it reduces build time by only running tasks with outdated results.
Prequalify Changes Locally
The Process Advisor app provides a graphical interface integrated into Simulink to locally prequalify changes, reducing the risk of build and test failures in your CI/CD system. You can also use the app to deploy your Model-Based Design process to your team, helping them identify, automate, and complete the development and verification activities in compliance with industry standards such as ISO 26262 and DO-178C. The app uses the build system in the support package to detect changes to artifacts and automatically assesses the impact on existing tasks to minimize build time.
Integrate with Your CI/CD Systems
The support package enables you to integrate your Model-Based Design process into widely used CI/CD systems. Example YAML files are included with the support package, illustrating how to configure and integrate the build system for generating and executing your Model-Based Design pipeline in CI/CD systems like GitLab®, Jenkins®, GitHub Actions, and Azure DevOps. The Model-Based Design build generates a report that summarizes the results, and it produces a detailed log file to troubleshoot any issues.