File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Debug MacOS Dependencies"
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - ' mac_dependencies'
7+ jobs :
8+ build-macos :
9+ runs-on : macos-14
10+ env :
11+ OPENTELEMETRY_MATLAB_INSTALL : " ${{ github.workspace }}/otel_matlab_install"
12+ steps :
13+ - name : Download OpenTelemetry-Matlab source
14+ uses : actions/checkout@v3
15+ with :
16+ path : opentelemetry-matlab
17+ - name : Install ninja-build
18+ run : brew install ninja
19+ - name : Install MATLAB
20+ uses : matlab-actions/setup-matlab@v2
21+ with :
22+ release : R2025a
23+ products : MATLAB_Compiler
24+ - name : Build OpenTelemetry-Matlab
25+ working-directory : opentelemetry-matlab
26+ run : |
27+ cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWITH_OTLP_GRPC=ON -DWITH_OTLP_FILE=ON -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
28+ cmake --build build --config Release --target install -v
29+ - name : Compress into single artifact
30+ working-directory : ${{ github.workspace }}
31+ run : tar -czf otel-matlab-macos.tar.gz otel_matlab_install
32+ - name : Upload artifacts
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : otel-matlab-macos.tar.gz
36+ path : ${{ github.workspace }}/otel-matlab-macos.tar.gz
You can’t perform that action at this time.
0 commit comments