Skip to content

Commit ea5e21a

Browse files
authored
Update ToolboxDistribution.yml
1 parent 27e64d2 commit ea5e21a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

AzureDevOps/ToolboxDistribution.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ jobs:
1313
vmImage: $(imageName)
1414
steps:
1515
- task: InstallMATLAB@1
16+
17+
- script: |
18+
matlab-batch matlabroot
19+
20+
- task: Cache@2
21+
inputs:
22+
key: '"$(imageName)"'
23+
restoreKeys: |
24+
"$(imageName)"
25+
path: $(YARN_CACHE_FOLDER)
26+
displayName: Cache MATLAB
1627

1728
# Runs build to create MEX file and then run tests
1829
- task: RunMATLABBuild@1
@@ -68,4 +79,4 @@ jobs:
6879
assets: 'toolbox.mltbx'
6980
tagSource: 'userSpecifiedTag'
7081
tag: '$(Build.BuildNumber)'
71-
dependsOn: CompileAndTestMex
82+
dependsOn: CompileAndTestMex

0 commit comments

Comments
 (0)