@@ -72,17 +72,13 @@ jobs:
72
72
microsoft_hosted_windows :
73
73
poolName : Azure Pipelines
74
74
vmImage : windows-latest
75
- self_hosted_windows :
76
- poolName : vmssagentpool
77
- vmImage : # blank for self-hosted
78
75
pool :
79
76
name : $(poolName)
80
77
vmImage : $(vmImage)
81
78
steps :
82
79
- checkout : none
83
80
- task : MathWorks.matlab-azure-devops-extension-dev.InstallMATLAB.InstallMATLAB@${{ version }}
84
81
displayName : Install MATLAB on Microsoft-hosted agents
85
- condition : not(startsWith(variables['Agent.Name'], 'vmss'))
86
82
- task : MathWorks.matlab-azure-devops-extension-dev.RunMATLABCommand.RunMATLABCommand@${{ version }}
87
83
displayName : Run MATLAB statement
88
84
inputs :
@@ -146,9 +142,6 @@ jobs:
146
142
microsoft_hosted_linux :
147
143
poolName : Azure Pipelines
148
144
vmImage : ubuntu-22.04
149
- self_hosted_windows :
150
- poolName : vmssagentpool
151
- vmImage : # blank for self-hosted
152
145
pool :
153
146
name : $(poolName)
154
147
vmImage : $(vmImage)
@@ -158,12 +151,12 @@ jobs:
158
151
- checkout : none
159
152
- task : MathWorks.matlab-azure-devops-extension-dev.InstallMATLAB.InstallMATLAB@${{ version }}
160
153
displayName : Install MATLAB on Microsoft-hosted agents
161
- condition : and( eq(${{ version }}, '0'), not(startsWith(variables['Agent.Name'], 'vmss')) )
154
+ condition : eq(${{ version }}, '0')
162
155
- task : MathWorks.matlab-azure-devops-extension-dev.InstallMATLAB.InstallMATLAB@${{ version }}
163
156
inputs :
164
157
products : Simulink Simulink_Test Simulink_Coverage Parallel_Computing_Toolbox
165
158
displayName : Install MATLAB on Microsoft-hosted agents
166
- condition : and( eq(${{ version }}, '1'), not(startsWith(variables['Agent.Name'], 'vmss')) )
159
+ condition : eq(${{ version }}, '1')
167
160
- bash : |
168
161
echo 'myvar = 123' > startup.m
169
162
mkdir src
@@ -239,18 +232,19 @@ jobs:
239
232
grep -q "runner.addPlugin(FailOnWarningsPlugin())" console.log
240
233
rm console.log
241
234
displayName: Verify tests ran with strict checks
242
- - task : MathWorks.matlab-azure-devops-extension-dev.RunMATLABTests.RunMATLABTests@${{ version }}
243
- displayName : Run MATLAB tests in parallel
244
- inputs :
245
- useParallel : true
246
- sourceFolder : src
247
- condition : not(eq(${{ version }}, '0'))
248
- - bash : |
249
- set -e
250
- grep -q "Starting parallel pool (parpool)" console.log
251
- rm console.log
252
- displayName: Verify tests ran in parallel
253
- condition: not(eq(${{ version }}, '0'))
235
+ # Disable parallel tests until PCT bug is fixed g3416906
236
+ # - task: MathWorks.matlab-azure-devops-extension-dev.RunMATLABTests.RunMATLABTests@${{ version }}
237
+ # displayName: Run MATLAB tests in parallel
238
+ # inputs:
239
+ # useParallel: true
240
+ # sourceFolder: src
241
+ # condition: not(eq(${{ version }}, '0'))
242
+ # - bash: |
243
+ # set -e
244
+ # grep -q "Starting parallel pool (parpool)" console.log
245
+ # rm console.log
246
+ # displayName: Verify tests ran in parallel
247
+ # condition: not(eq(${{ version }}, '0'))
254
248
- task : MathWorks.matlab-azure-devops-extension-dev.RunMATLABTests.RunMATLABTests@${{ version }}
255
249
displayName : Run MATLAB tests with detailed display level for event details
256
250
inputs :
0 commit comments