File tree Expand file tree Collapse file tree 6 files changed +32
-3
lines changed Expand file tree Collapse file tree 6 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 40
40
- name : Install MATLAB
41
41
uses : matlab-actions/setup-matlab@v2
42
42
with :
43
+ release : R2025a
43
44
products : MATLAB_Compiler MATLAB_Compiler_SDK
44
45
- name : Build OpenTelemetry-Matlab
45
46
working-directory : opentelemetry-matlab
70
71
- name : Install MATLAB
71
72
uses : matlab-actions/setup-matlab@v2
72
73
with :
74
+ release : R2025a
73
75
products : MATLAB_Compiler MATLAB_Compiler_SDK
74
76
- name : Build OpenTelemetry-Matlab
75
77
working-directory : opentelemetry-matlab
@@ -106,6 +108,8 @@ jobs:
106
108
- name : Install MATLAB
107
109
uses : matlab-actions/setup-matlab@v2
108
110
with :
111
+ # pin to R2024b because R2025a has an issue that causes a failure when building the context_propagation example
112
+ release : R2024b
109
113
products : MATLAB_Compiler MATLAB_Compiler_SDK
110
114
- name : Build OpenTelemetry-Matlab
111
115
working-directory : opentelemetry-matlab
@@ -140,6 +144,7 @@ jobs:
140
144
- name : Install MATLAB
141
145
uses : matlab-actions/setup-matlab@v2
142
146
with :
147
+ release : R2025a
143
148
products : MATLAB_Compiler MATLAB_Compiler_SDK
144
149
- name : Build OpenTelemetry-Matlab
145
150
working-directory : opentelemetry-matlab
Original file line number Diff line number Diff line change 41
41
- name : Install MATLAB
42
42
uses : matlab-actions/setup-matlab@v2
43
43
with :
44
+ release : R2025a
44
45
products : MATLAB_Compiler MATLAB_Compiler_SDK
45
46
- name : Build OpenTelemetry-Matlab
46
47
working-directory : opentelemetry-matlab
70
71
- name : Install MATLAB
71
72
uses : matlab-actions/setup-matlab@v2
72
73
with :
74
+ # pin to R2024b because R2025a has an issue that causes a failure when building the context_propagation example
75
+ release : R2024b
73
76
products : MATLAB_Compiler MATLAB_Compiler_SDK
74
77
- name : Build OpenTelemetry-Matlab
75
78
working-directory : opentelemetry-matlab
@@ -104,6 +107,7 @@ jobs:
104
107
- name : Install MATLAB
105
108
uses : matlab-actions/setup-matlab@v2
106
109
with :
110
+ release : R2025a
107
111
products : MATLAB_Compiler MATLAB_Compiler_SDK
108
112
- name : Build OpenTelemetry-Matlab
109
113
working-directory : opentelemetry-matlab
Original file line number Diff line number Diff line change 18
18
- name : Install MATLAB
19
19
uses : matlab-actions/setup-matlab@v2
20
20
with :
21
+ release : R2025a
21
22
products : MATLAB_Compiler
22
23
- name : Build OpenTelemetry-Matlab
23
24
working-directory : opentelemetry-matlab
46
47
- name : Install MATLAB
47
48
uses : matlab-actions/setup-matlab@v2
48
49
with :
50
+ release : R2025a
49
51
products : MATLAB_Compiler
50
52
- name : Build OpenTelemetry-Matlab
51
53
working-directory : opentelemetry-matlab
79
81
- name : Install MATLAB
80
82
uses : matlab-actions/setup-matlab@v2
81
83
with :
84
+ release : R2025a
82
85
products : MATLAB_Compiler
83
86
- name : Build OpenTelemetry-Matlab
84
87
working-directory : opentelemetry-matlab
@@ -121,7 +124,9 @@ jobs:
121
124
tar -xzvf otel-matlab-macos-14.tar.gz
122
125
tar -xzvf otel-matlab-windows.tar.gz
123
126
- name : Install MATLAB
124
- uses : matlab-actions/setup-matlab@v1
127
+ uses : matlab-actions/setup-matlab@v2
128
+ with :
129
+ release : R2025a
125
130
- name : Run commands
126
131
env :
127
132
MATLABPATH : OpenTelemetry-Matlab/tools
Original file line number Diff line number Diff line change 28
28
29
29
set (VCPKG_FETCH_CONTENT_NAME vcpkg)
30
30
set (VCPKG_GIT_REPOSITORY "https://github.com/microsoft/vcpkg.git" )
31
- set (VCPKG_GIT_TAG "f7423ee " )
31
+ set (VCPKG_GIT_TAG "b02e341 " )
32
32
FetchContent_Declare(
33
33
${VCPKG_FETCH_CONTENT_NAME}
34
34
GIT_REPOSITORY ${VCPKG_GIT_REPOSITORY}
@@ -56,7 +56,11 @@ if(APPLE)
56
56
# use libcurl as a shared library and load the MATLAB version at runtime
57
57
# run uname -m to determine whether arm64 or x86_64
58
58
exec_program (uname ARGS -m OUTPUT_VARIABLE MAC_HOST_SYSTEM)
59
- set (VCPKG_OTEL_TRIPLET ${MAC_HOST_SYSTEM} -osx-otel-matlab)
59
+ if (${MAC_HOST_SYSTEM} STREQUAL "arm64" )
60
+ set (VCPKG_OTEL_TRIPLET "arm64-osx-otel-matlab" )
61
+ elseif (${MAC_HOST_SYSTEM} STREQUAL "x86_64" )
62
+ set (VCPKG_OTEL_TRIPLET "x64-osx-otel-matlab" )
63
+ endif ()
60
64
set (VCPKG_OVERLAY_TRIPLETS ${CMAKE_SOURCE_DIR} /cmake/vcpkg_triplets)
61
65
set (VCPKG_TARGET_TRIPLET ${VCPKG_OTEL_TRIPLET} )
62
66
set (TRIPLET_DEFINITIONS -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} )
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ if(${PORT} MATCHES "(curl|zlib)")
5
5
else ()
6
6
set (VCPKG_LIBRARY_LINKAGE static )
7
7
endif ()
8
+ # disable the script to fix rpath for curl, which makes an undesirable change to
9
+ # the install name from @rpath/libcurl.4.dylib to @rpath/libcurl.4.8.0.dylib
10
+ if (${PORT} MATCHES "curl" )
11
+ set (VCPKG_FIXUP_MACHO_RPATH OFF )
12
+ endif ()
13
+
8
14
9
15
set (VCPKG_CMAKE_SYSTEM_NAME Darwin)
10
16
set (VCPKG_OSX_ARCHITECTURES arm64)
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ if(${PORT} MATCHES "(curl|zlib)")
5
5
else ()
6
6
set (VCPKG_LIBRARY_LINKAGE static )
7
7
endif ()
8
+ # disable the script to fix rpath for curl, which makes an undesirable change to
9
+ # the install name from @rpath/libcurl.4.dylib to @rpath/libcurl.4.8.0.dylib
10
+ if (${PORT} MATCHES "curl" )
11
+ set (VCPKG_FIXUP_MACHO_RPATH OFF )
12
+ endif ()
8
13
9
14
set (VCPKG_CMAKE_SYSTEM_NAME Darwin)
10
15
set (VCPKG_OSX_ARCHITECTURES x86_64)
You can’t perform that action at this time.
0 commit comments