Skip to content

Commit 45ef02b

Browse files
committed
Update file
1 parent 4758771 commit 45ef02b

File tree

1 file changed

+50
-41
lines changed

1 file changed

+50
-41
lines changed

AzureDevOps/ParallelStrategy.yml

Lines changed: 50 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
jobs:
2-
# - job: ParallelWindows
3-
# # Parallel strategy to run tests in parallel
4-
# strategy:
5-
# parallel: 2
6-
# pool:
7-
# vmImage: windows-latest
8-
# steps:
9-
# # Install MATLAB and required products
10-
# - task: InstallMATLAB@1
11-
# inputs:
12-
# release: R2025a
13-
# products: MATLAB_Test Simulink_Test
2+
- job: ParallelWindows
3+
# Parallel strategy to run tests in parallel
4+
strategy:
5+
parallel: 2
6+
pool:
7+
vmImage: windows-latest
8+
steps:
9+
# Install MATLAB and required products
10+
- task: InstallMATLAB@1
11+
inputs:
12+
products: MATLAB_Compiler_SDK MATLAB_Test
1413

15-
# - powershell: .\AzureDevOps\DistributeTests.ps1
16-
# displayName: 'PowerShell Script to distribute tests'
14+
- powershell: .\AzureDevOps\DistributeTests.ps1
15+
displayName: 'PowerShell Script to distribute tests'
1716

18-
# - task: RunMATLABTests@1
19-
# inputs:
20-
# selectByName: $(MATLABTestFiles)
21-
# sourceFolder: src
22-
# env:
23-
# MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
17+
- task: RunMATLABBuild@1
18+
inputs:
19+
tasks: equivalenceTest
20+
env:
21+
MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
22+
23+
- task: RunMATLABTests@1
24+
inputs:
25+
selectByName: $(MATLABTestFiles)
26+
sourceFolder: src
27+
env:
28+
MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
2429

2530
- job: ParallelLinux
2631
# Parallel strategy to run tests in parallel
@@ -32,7 +37,6 @@ jobs:
3237
# Install MATLAB and required products
3338
- task: InstallMATLAB@1
3439
inputs:
35-
release: R2025a
3640
products: MATLAB_Compiler_SDK MATLAB_Test
3741

3842
- bash: chmod +x ./AzureDevOps/DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
@@ -52,25 +56,30 @@ jobs:
5256
env:
5357
MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
5458

55-
# - job: ParallelMac
56-
# # Parallel strategy to run tests in parallel
57-
# strategy:
58-
# parallel: 2
59-
# pool:
60-
# vmImage: macOS-latest
61-
# steps:
62-
# # Install MATLAB and required products
63-
# - task: InstallMATLAB@1
64-
# inputs:
65-
# release: R2025a
66-
# products: MATLAB_Test Simulink_Test
59+
- job: ParallelMac
60+
# Parallel strategy to run tests in parallel
61+
strategy:
62+
parallel: 2
63+
pool:
64+
vmImage: macOS-latest
65+
steps:
66+
# Install MATLAB and required products
67+
- task: InstallMATLAB@1
68+
inputs:
69+
products: MATLAB_Compiler_SDK MATLAB_Test
6770

68-
# - bash: chmod +x ./AzureDevOps/DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
69-
# displayName: 'Bash Script to distribute tests'
71+
- bash: chmod +x ./AzureDevOps/DistributeTests.sh && ./AzureDevOps/DistributeTests.sh
72+
displayName: 'Bash Script to distribute tests'
7073

71-
# - task: RunMATLABTests@1
72-
# inputs:
73-
# selectByName: $(MATLABTestFiles)
74-
# sourceFolder: src
75-
# env:
76-
# MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
74+
- task: RunMATLABBuild@1
75+
inputs:
76+
tasks: equivalenceTest
77+
env:
78+
MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)
79+
80+
- task: RunMATLABTests@1
81+
inputs:
82+
selectByName: $(MATLABTestFiles)
83+
sourceFolder: src
84+
env:
85+
MLM_LICENSE_TOKEN: $(MLM_LICENSE_TOKEN)

0 commit comments

Comments
 (0)