New MATLAB CI template
What does this MR do and why?
This MR is to add template(ci::templates) for below MATLAB tasks
-
command
: Run MATLAB scripts, functions, and statements. -
test
: Run tests authored using the MATLAB unit testing framework or Simulink Test. -
test_with_artifacts
: Run MATLAB and Simulink tests, and generate test and coverage artifacts.
Requirements
To run MATLAB and Simulink, the runner uses the topmost MATLAB version on the system path. The build fails
if the operating system cannot find MATLAB on the path.The jobs in this template use the matlab -batch
syntax to start MATLAB. The -batch
option is supported in MATLAB R2019a and later.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
- Under
CI\CD
Pipelines create new.gtilab-ci.yml
file - from UI search for
MATLAB
template - Save and run pipeline
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marcel Amirault