File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Debug Mac upb build failure"
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - mac_upb_debug
7+ env :
8+ MLM_LICENSE_TOKEN : ${{ secrets.MLM_LICENSE_TOKEN }}
9+ jobs :
10+ build-and-run-tests-macos :
11+ runs-on : macos-14
12+ needs : get_version
13+ env :
14+ OPENTELEMETRY_MATLAB_INSTALL : " ${{ github.workspace }}/otel_matlab_install"
15+ steps :
16+ - name : Download OpenTelemetry-Matlab source
17+ uses : actions/checkout@v3
18+ with :
19+ path : opentelemetry-matlab
20+ - name : Install ninja-build
21+ run : brew install ninja
22+ - name : Install MATLAB
23+ uses : matlab-actions/setup-matlab@v2
24+ with :
25+ release : R2025a
26+ products : MATLAB_Compiler MATLAB_Compiler_SDK
27+ - name : Build OpenTelemetry-Matlab
28+ working-directory : opentelemetry-matlab
29+ run : |
30+ cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWITH_EXAMPLES=ON -DWITH_OTLP_GRPC=ON -DUSE_BATCH_FOR_MCC=ON -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
31+ cmake --build build --config Release --target install
32+ - name : Run tests
33+ env :
34+ # Add the installation directory to the MATLAB Search Path by
35+ # setting the MATLABPATH environment variable.
36+ MATLABPATH : ${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
37+ uses : matlab-actions/run-tests@v2
38+ with :
39+ select-by-folder : opentelemetry-matlab/test
You can’t perform that action at this time.
0 commit comments