CI/CD in the Cloud: Scaling Simulation-Based Testing for Modern Engineering
- Olga

- 1. Mai 2025
- 2 Min. Lesezeit
Aktualisiert: 30. März
TL;DR: Bridging the gap between desktop simulation and automated cloud pipelines.
The Challenge: Traditional local testing cannot scale with the increasing complexity of Software-Defined Vehicles (SDVs).
The Solution: Integrating MATLAB and Simulink into cloud-based CI platforms (GitLab, GitHub, Azure DevOps) using Docker containers.
The Benefit: Immediate feedback loops, consistent environments, and significantly faster time-to-market.
1. The Challenge: The Bottleneck of Local Testing
In the era of rapid software deployment, relying solely on an engineer's local desktop for verification is no longer sustainable. As system complexity grows, manual testing leads to "integration hell," where bugs are discovered too late in the development cycle.
Engineers face inconsistent environments ("it works on my machine") and a lack of automated feedback, which slows down the entire agile workflow. To stay competitive, the verification process must move from the desktop to a scalable cloud infrastructure.
2. The Solution: Automated Cloud-Based CI Pipelines
The transition involves integrating Model-Based Design (MBD) directly into a Continuous Integration (CI) pipeline. This setup ensures that every change to a model or code triggers an automated verification process.
Key Technical Components:
CI Platforms: Tools like GitLab®, GitHub®, or Azure® DevOps orchestrate the workflow.
Docker Containers: These containers package the specific MATLAB version and toolboxes required, ensuring that the execution environment is identical every time.
Cloud Infrastructure: Leveraging cloud runners to execute simulations in parallel, far exceeding the capacity of local hardware.
3. Deep Dive: The Automated Workflow
The integration follows a structured path that connects the developer's desk to the cloud:
Push to Git: A developer commits a change to the repository.
Containerized Build: The CI server pulls a Docker image containing the pre-installed MATLAB environment.
Automated Simulation: The pipeline runs Simulink tests in the cloud to verify system requirements.
Reporting: Results and coverage reports are automatically attached to the Merge Request for immediate review.

4. Results: Faster Feedback, Better Quality
Moving simulation to the cloud transforms the development lifecycle:
Enhanced Consistency: Docker eliminates environment-related errors across the team.
Immediate Feedback: Engineers learn within minutes if their changes broke any functionality.
Scalability: Testing hundreds of scenarios in parallel reduces verification time from days to hours.

5. Conclusion
Integrating MATLAB and Simulink into a cloud-based CI environment is essential for modern software-driven engineering. It reduces risks, ensures high software quality, and allows teams to focus on innovation rather than manual testing.
Read the full technical article This blog is a summary of the technical deep dive co-authored with MathWorks. For detailed configuration steps and architecture diagrams, read the full article: 👉 Integrating Cloud-Based Continuous Integration – Technical Article



Kommentare