File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- env :
4- MATLAB_VER : R2023a
5-
63# Controls when the workflow will run
74on :
85 # Triggers the workflow on push or pull request events but only for the "master" branch
2219# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2320jobs :
2421 check :
22+ strategy :
23+ fail-fast : false # Run with every MATLAB version independently
24+ matrix :
25+ matlabVer : [R2023a] # List of MATLAB releases to test
2526 runs-on : matlab
2627 # Steps represent a sequence of tasks that will be executed as part of the job
2728 steps :
4142
4243 - name : Run MATLAB command
4344 run : |
44- &"$env:ProgramFiles\MATLAB\$env:MATLAB_VER \bin\matlab.exe" -batch "openProject(pwd); cd('buildUtilities'); buildtool check"
45+ &"$env:ProgramFiles\MATLAB\${{ matrix.matlabVer }} \bin\matlab.exe" -batch "openProject(pwd); cd('buildUtilities'); buildtool check"
4546
4647 - name : Archive check results
4748 uses : actions/upload-artifact@v3
5152 path : checkResults.json
5253
5354 test :
55+ strategy :
56+ fail-fast : false # Run with every MATLAB version independently
57+ matrix :
58+ matlabVer : [R2023a] # List of MATLAB releases to test
5459 runs-on : matlab
5560 # Steps represent a sequence of tasks that will be executed as part of the job
5661 steps :
7580
7681 - name : Run MATLAB command
7782 run : |
78- &"$env:ProgramFiles\MATLAB\$env:MATLAB_VER \bin\matlab.exe" -batch "openProject(pwd); cd('buildUtilities'); buildtool test({'noHW','bdConnected'})"
83+ &"$env:ProgramFiles\MATLAB\${{ matrix.matlabVer }} \bin\matlab.exe" -batch "openProject(pwd); cd('buildUtilities'); buildtool test({'noHW','bdConnected'})"
7984
8085 - name : Publish Test Results
8186 uses : EnricoMi/publish-unit-test-result-action/composite@v2
You can’t perform that action at this time.
0 commit comments