File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1313 vmImage : $(imageName)
1414 steps :
1515 - task : InstallMATLAB@1
16+
17+ # Runs build to create MEX file and then run tests
18+ - task : RunMATLABBuild@1
19+ inputs :
20+ tasks : test
21+ env :
22+ MLM_LICENSE_TOKEN : $(MLM_LICENSE_TOKEN)
1623
17- - script : |
18- run-matlab-command matlabroot
24+ # - script: MATHWORKS_TOKEN=
25+ - script : MATLAB_CACHE_FOLDER=$(matlab-batch matlabroot)
26+ env :
27+ MLM_LICENSE_TOKEN : $(MLM_LICENSE_TOKEN)
28+ - script : echo $MATLAB_CACHE_FOLDER
1929
2030 - task : Cache@2
2131 inputs :
2535 path : $(MATLAB_CACHE_FOLDER)
2636 displayName : Cache MATLAB
2737
28- # Runs build to create MEX file and then run tests
29- - task : RunMATLABBuild@1
30- inputs :
31- tasks : test
32- env :
33- MLM_LICENSE_TOKEN : $(MLM_LICENSE_TOKEN)
34-
3538 # Uploads the test results
3639 - publish : ' test-results/results.xml'
3740 artifact : ' test-results-$(imageName)'
You can’t perform that action at this time.
0 commit comments