Skip to content

Commit 2712330

Browse files
committed
Re-enable R2024b pipeline after adding workaround for addons installation.
1 parent 3af86ef commit 2712330

5 files changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
fail-fast: false # Run with every MATLAB version independently
6464
matrix:
65-
matlabVer: [R2025b] # List of MATLAB releases to test # R2024b momentarily disabled due to a bug introduced in R2024bU8
65+
matlabVer: [R2024b, R2025b] # List of MATLAB releases to test
6666
runs-on: matlab
6767

6868
# Steps represent a sequence of tasks that will be executed as part of the job

buildUtilities/setupAddon.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
function setupAddon(~)
2+
% This is the workaround required to run the pipeline on R2024b after the bug introduced in add-ons path in Update 8
3+
4+
if batchStartupOptionUsed && ~isMATLABReleaseOlderThan("R2024b","release",8) && isMATLABReleaseOlderThan("R2025a")
5+
matlab.addons.install(fullfile(getenv('USERPROFILE'),'Downloads','Advanced.Logger.for.MATLAB.2.0.2.mltbx'));
6+
end
7+
8+
end

buildfile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
plan("test") = Task( ...
2424
Description = "Run unit tests", ...
2525
Dependencies = ["updateSGdeps","pcodeBossapi"],...
26-
Actions = @(~) testTask);
26+
Actions = [@(~) setupAddon, @(~) testTask]);
2727

2828
plan("buildDoc") = Task( ...
2929
Description = "Build HTML doc from sources", ...
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info>
3+
<Category UUID="FileClassCategory">
4+
<Label UUID="design"/>
5+
</Category>
6+
</Info>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info location="setupAddon.m" type="File"/>

0 commit comments

Comments
 (0)