Skip to content

Commit

Permalink
Update workflow so working directory has access to performance files
Browse files Browse the repository at this point in the history
  • Loading branch information
MWSestabro committed Jan 17, 2025
1 parent 8d181d4 commit f4dde9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/performance_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ jobs:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWITH_EXAMPLES=ON -DUSE_BATCH_FOR_MCC=ON -DOTEL_MATLAB_VERSION=${{ needs.get_version.outputs.version }} -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
cmake --build build --config Release --target install
- name: Run Benchmark
working-directory: opentelemetry-matlab
env:
# Add the installation directory to the MATLAB Search Path by
# setting the MATLABPATH environment variable.
MATLABPATH: ${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
uses: matlab-actions/run-command@v2
with:
command: addpath("test/performance"), runPerf
command: addpath("./test/performance"), runPerf
- name: Download previous benchmark data
uses: actions/cache@v4
with:
Expand Down

0 comments on commit f4dde9a

Please sign in to comment.