File tree Expand file tree Collapse file tree
resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ stages :
2+ # Set up two testing paths
3+ - test
4+ - deploy
5+ - release
6+
7+ test-matrix :
8+ parallel :
9+ matrix :
10+ - VERSION : [R2025b,R2026a]
11+ tags :
12+ - training
13+ - windows
14+ stage : test
15+ script :
16+ - Set-Alias -Name matlab -Value "D:\MATLAB\$VERSION\bin\matlab-batch"
17+ - matlab "openProject(pwd); buildtool -continueOnFailure"
18+ when : always
19+ allow_failure : true
20+ artifacts :
21+ name : " $VERSION"
22+ paths :
23+ - public/$VERSION/*
24+ when : always
25+
26+ pages :
27+ needs :
28+ - test-matrix
29+ variables :
30+ VERSION : " R2026a"
31+ tags :
32+ - training
33+ - windows
34+ stage : deploy
35+ script :
36+ - Set-Alias -Name matlab -Value "D:\MATLAB\$VERSION\bin\matlab-batch"
37+ - matlab "openProject(pwd); buildtool report -continueOnFailure"
38+ when : always
39+ allow_failure : true
40+ artifacts :
41+ paths :
42+ - public
43+
44+ file-test :
45+ variables :
46+ VERSION : " R2026a"
47+ tags :
48+ - training
49+ - windows
50+ stage : release
51+ script :
52+ - Set-Alias -Name matlab -Value "D:\MATLAB\$VERSION\bin\matlab-batch"
53+ - git clone https://insidelabs-git.mathworks.com/modular-curriculum-content/utilities.git ci_utilities
54+ - matlab "openProject(pwd); addpath(genpath(ci_utilities)); buildtool -buildFile ci-utilities\buildfile.m"
55+ rules :
56+ - if : $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
57+ when : always
58+ - if : $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
59+ when : manual
60+ allow_failure : true
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <Info />
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <Info location =" .gitlab-ci.yml" type =" File" />
You can’t perform that action at this time.
0 commit comments