forked from acampbel/Mass-Spring-Damper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
81 lines (70 loc) · 1.94 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
trigger:
- main
schedules:
- cron: '43/61 13/25 1/6 * *'
displayName: Weekly-ish build
branches:
include:
- main
jobs:
- job: 'RunMATLABBuild'
pool:
vmImage: $(PLATFORM)
strategy:
matrix:
windows-MATLAB-R2022b:
PLATFORM: 'windows-latest'
MATLAB_RELEASE: R2022b
linux-MATLAB-R2022b:
PLATFORM: 'ubuntu-latest'
MATLAB_RELEASE: R2022b
mac-MATLAB-R2022b:
PLATFORM: 'macOS-latest'
MATLAB_RELEASE: R2022b
windows-MATLAB-R2023a:
PLATFORM: 'windows-latest'
MATLAB_RELEASE: R2023a
linux-MATLAB-R2023a:
PLATFORM: 'ubuntu-latest'
MATLAB_RELEASE: R2023a
mac-MATLAB-R2023a:
PLATFORM: 'macOS-latest'
MATLAB_RELEASE: R2023a
windows-MATLAB-R2023b:
PLATFORM: 'windows-latest'
MATLAB_RELEASE: R2023b
linux-MATLAB-R2023b:
PLATFORM: 'ubuntu-latest'
MATLAB_RELEASE: R2023b
mac-MATLAB-R2023b:
PLATFORM: 'macOS-latest'
MATLAB_RELEASE: R2023b
variables:
- group: matlab-batch-license
steps:
- task: Cache@2
inputs:
key: MATLAB-$(MATLAB_RELEASE)-$(PLATFORM)-20231028
path: $(AGENT_TOOLSDIRECTORY)/MATLAB
- task: InstallMATLAB@1
inputs:
release: $(MATLAB_RELEASE)
products: >
MATLAB
MATLAB_Compiler
MATLAB_Compiler_SDK
Database_Toolbox
Datafeed_Toolbox
Econometrics_Toolbox
Financial_Instruments_Toolbox
Financial_Toolbox
Optimization_Toolbox
Parallel_Computing_Toolbox
Statistics_and_Machine_Learning_Toolbox
# This task Runs all the MATLAB and Simulink tests and generate variety of test artifacts. Check the documentation for all supported task parameters.
- task: RunMATLABBuild@0
inputs:
tasks: test
env:
MATHWORKS_ACCOUNT: $(MATHWORKS_ACCOUNT)
MATHWORKS_TOKEN: $(MATHWORKS_TOKEN)