Skip to content

Commit

Permalink
Package into .mltbx file
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpo committed Feb 28, 2024
1 parent ae2874c commit 4eee259
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
runs-on: ubuntu-latest
env:
OPENTELEMETRY_MATLAB_INSTALL: "${{ github.workspace }}/otel_matlab_install"
SYSTEM_LIBSTDCPP_PATH: "/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
steps:
- name: Download OpenTelemetry-Matlab source
uses: actions/checkout@v3
Expand Down Expand Up @@ -105,9 +104,9 @@ jobs:
- name: Decompress Artifacts
run: |
mv artifacts-downloaded/*/*.tar.gz .
tar -xzf otel-matlab-ubuntu.tar.gz
tar -xzf otel-matlab-macos.tar.gz
tar -xzf otel-matlab-windows.tar.gz
tar -xzvf otel-matlab-ubuntu.tar.gz
tar -xzvf otel-matlab-macos.tar.gz
tar -xzvf otel-matlab-windows.tar.gz
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions tools/packageMatlabInterface.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
opts = matlab.addons.toolbox.ToolboxOptions(toolboxFolder, identifier);
opts.ToolboxName = "MATLAB Interface to OpenTelemetry";
opts.ToolboxVersion = toolboxVersion;
disp("Toolbox Files:");
disp(opts.ToolboxFiles);
disp("Toolbox MATLAB Path (original): " + opts.ToolboxMatlabPath);
opts.ToolboxMatlabPath = toolboxFolder;
disp("Toolbox MATLAB Path: " + opts.ToolboxMatlabPath);
opts.AuthorName = "MathWorks DevOps Team";
Expand Down

0 comments on commit 4eee259

Please sign in to comment.