File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 44 push :
55jobs :
66 build-and-run-tests-ubuntu :
7- runs-on : ubuntu-latest
7+ # Running on ubuntu-latest would use a glibc version that is incompatible when using the built mex files on a Debian 11
8+ # Instead, run on ubuntu-20.04
9+ runs-on : ubuntu-20.04
810 env :
911 OPENTELEMETRY_MATLAB_INSTALL : " ${{ github.workspace }}/otel_matlab_install"
1012 SYSTEM_LIBSTDCPP_PATH : " /usr/lib/x86_64-linux-gnu/libstdc++.so.6"
2426 cmake --build build --config Release --target install
2527 - name : Run tests
2628 env :
27- # The version of libstdc++ that is bundled with MATLAB is used when building MEX files.
28- # This version of libstdc++ is incompatible with the system version of libstdc++.
29- # As a workaround, set LD_PRELOAD to use the system version of libstdc++ with MATLAB.
30- LD_PRELOAD : ${{ env.SYSTEM_LIBSTDCPP_PATH }}
31-
3229 # Add the installation directory to the MATLAB Search Path by
3330 # setting the MATLABPATH environment variable.
3431 MATLABPATH : ${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
Original file line number Diff line number Diff line change 66 - package
77jobs :
88 build-ubuntu :
9- runs-on : ubuntu-latest
9+ # Running on ubuntu-latest would use a glibc version that is incompatible when using the built mex files on a Debian 11
10+ # Instead, run on ubuntu-20.04
11+ runs-on : ubuntu-20.04
1012 env :
1113 OPENTELEMETRY_MATLAB_INSTALL : " ${{ github.workspace }}/otel_matlab_install"
1214 steps :
8587 path : ${{ github.workspace }}/otel-matlab-macos.tar.gz
8688 package-mltbx :
8789 name : Package MATLAB Toolbox (MLTBX) Files
88- runs-on : ubuntu-latest
90+ runs-on : ubuntu-20.04
8991 needs :
9092 - build-ubuntu
9193 - build-windows
You can’t perform that action at this time.
0 commit comments