Skip to content

Commit

Permalink
1. Call sudo apt-get update
Browse files Browse the repository at this point in the history
2. Update debug print statements in packageMatlabInterface
  • Loading branch information
sgilmore10 committed Nov 10, 2023
1 parent 0ef30fd commit dc256ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/tasks/matlab/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
{{ macros.github_checkout_arrow()|indent }}
- name: Install ninja-build
run: sudo apt-get install ninja-build
run: sudo apt-get update && apt-get install ninja-build
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v1
with:
Expand Down
6 changes: 4 additions & 2 deletions matlab/tools/packageMatlabInterface.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
% Output folder must exist.
mkdir(outputFolder);

disp("Toolbox Folder: " + toolboxFolder);
disp("Output Folder: " + outputFolder);
disp("Toolbox Version Raw: " + toolboxVersionRaw);

% Note: This string processing heuristic may not be robust to future
% changes in the Arrow versioning scheme.
Expand All @@ -34,6 +36,8 @@
toolboxVersion = toolboxVersionRaw;
end

disp("Toolbox Version:" + toolboxVersion);

identifier = "ARROW-MATLAB-TOOLBOX";

opts = matlab.addons.toolbox.ToolboxOptions(toolboxFolder, identifier);
Expand All @@ -55,5 +59,3 @@
opts.OutputFile = fullfile(outputFolder, compose("matlab-arrow-%s.mltbx", toolboxVersionRaw));
disp("Output File: " + opts.OutputFile);
matlab.addons.toolbox.packageToolbox(opts);

disp("Is File " + isfile(opts.OutputFile));

0 comments on commit dc256ea

Please sign in to comment.