Skip to content

Commit ecee5d4

Browse files
committed
build in a container on Linux to preserve backward compatibility
1 parent 0d93edc commit ecee5d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build_and_test_full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
steps:
160160
- name: Download OpenTelemetry-Matlab source
161161
uses: actions/checkout@v3
162-
with:
162+
with:
163163
path: opentelemetry-matlab
164164
- name: Install ninja-build
165165
run: brew install ninja

.github/workflows/build_and_test_simple.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
image: ubuntu:20.04
3232
needs: get_version
3333
env:
34-
OPENTELEMETRY_MATLAB_INSTALL: "$GITHUB_WORKSPACE/otel_matlab_install"
34+
OPENTELEMETRY_MATLAB_INSTALL: "otel_matlab_install"
3535
SYSTEM_LIBSTDCPP_PATH: "/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
3636
steps:
3737
- name: Download OpenTelemetry-Matlab source
@@ -57,7 +57,7 @@ jobs:
5757
- name: Build OpenTelemetry-Matlab
5858
working-directory: opentelemetry-matlab
5959
run: |
60-
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWITH_EXAMPLES=ON -DUSE_BATCH_FOR_MCC=ON -DOTEL_MATLAB_VERSION=${{ needs.get_version.outputs.version }} -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
60+
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWITH_EXAMPLES=ON -DUSE_BATCH_FOR_MCC=ON -DOTEL_MATLAB_VERSION=${{ needs.get_version.outputs.version }} -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/$OPENTELEMETRY_MATLAB_INSTALL
6161
cmake --build build --config Release --target install
6262
- name: Run tests
6363
env:

0 commit comments

Comments
 (0)