File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 52
52
- matlab/run-command :
53
53
command : version
54
54
55
+ integration-test-install-latest-including-prerelease :
56
+ parameters :
57
+ executor :
58
+ type : executor
59
+ executor : <<parameters.executor>>
60
+ steps :
61
+ - checkout
62
+ - matlab/install :
63
+ release : latest-including-prerelease
64
+ no-output-timeout : 30m
65
+ - matlab/run-command :
66
+ command : version
67
+
55
68
integration-test-install-release :
56
69
parameters :
57
70
executor :
@@ -461,6 +474,11 @@ workflows:
461
474
parameters :
462
475
executor : [linux, windows, macos]
463
476
477
+ - integration-test-install-latest-including-prerelease :
478
+ matrix :
479
+ parameters :
480
+ executor : [linux, windows, macos]
481
+
464
482
- integration-test-install-release :
465
483
matrix :
466
484
parameters :
Original file line number Diff line number Diff line change @@ -67,11 +67,15 @@ batchdir="$tmpdir/matlab-batch"
67
67
mpmdir=" $tmpdir /mpm"
68
68
batchbaseurl=" https://ssd.mathworks.com/supportfiles/ci/matlab-batch/v1"
69
69
mpmbaseurl=" https://www.mathworks.com/mpm"
70
+ releasestatus=" "
70
71
71
72
# resolve release
72
73
parsedrelease=$( echo " $PARAM_RELEASE " | tr ' [:upper:]' ' [:lower:]' )
73
74
if [[ " $parsedrelease " = " latest" ]]; then
74
75
mpmrelease=$( stream https://ssd.mathworks.com/supportfiles/ci/matlab-release/v0/latest)
76
+ elif [[ " $parsedrelease " = " latest-including-prerelease" ]]; then
77
+ mpmrelease=$( stream https://ssd.mathworks.com/supportfiles/ci/matlab-release/v0/latest-including-prerelease)
78
+ releasestatus=" --release-status=Prerelease"
75
79
else
76
80
mpmrelease=" $parsedrelease "
77
81
fi
@@ -139,7 +143,8 @@ chmod +x "$batchdir/matlab-batch$binext"
139
143
" $mpmdir /mpm$binext " install \
140
144
--release=" $mpmrelease " \
141
145
--destination=" $rootdir " \
146
+ ${releasestatus} \
142
147
--products ${PARAM_PRODUCTS} MATLAB
143
148
144
149
# add MATLAB and matlab-batch to path
145
- echo ' export PATH="' $rootdir ' /bin:' $batchdir ' :$PATH"' >> $BASH_ENV
150
+ echo ' export PATH="' $rootdir ' /bin:' $batchdir ' :$PATH"' >> $BASH_ENV
You can’t perform that action at this time.
0 commit comments