File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-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+ - ' debug_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+ products : MATLAB_Compiler
23+ - name : Build OpenTelemetry-Matlab
24+ working-directory : opentelemetry-matlab
25+ run : |
26+ 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 }}
27+ cmake --build build --config Release --target install
28+ - name : Compress into single artifact
29+ working-directory : ${{ github.workspace }}
30+ run : tar -czf otel-matlab-macos.tar.gz otel_matlab_install
31+ - name : Upload artifacts
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : otel-matlab-macos.tar.gz
35+ path : ${{ github.workspace }}/otel-matlab-macos.tar.gz
You can’t perform that action at this time.
0 commit comments