Skip to content

Commit 40fbae8

Browse files
committed
ninja build
1 parent 78f394d commit 40fbae8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build_and_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
uses: actions/checkout@v3
4444
with:
4545
path: opentelemetry-matlab
46+
- name: Install ninja-build
47+
run: choco install ninja
4648
- name: Install MATLAB
4749
uses: matlab-actions/setup-matlab@v2
4850
with:
4951
products: MATLAB_Compiler
5052
- name: Build OpenTelemetry-Matlab
5153
working-directory: opentelemetry-matlab
52-
shell: cmd
5354
run: |
54-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
5555
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
5656
cmake --build build --config Release --target install
5757
- name: Run tests

.github/workflows/publish_mltbx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
uses: actions/checkout@v3
4444
with:
4545
path: opentelemetry-matlab
46+
- name: Install ninja-build
47+
run: choco install ninja
4648
- name: Install MATLAB
4749
uses: matlab-actions/setup-matlab@v2
4850
with:
4951
products: MATLAB_Compiler
5052
- name: Build OpenTelemetry-Matlab
5153
working-directory: opentelemetry-matlab
52-
shell: cmd
5354
run: |
54-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
5555
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }}
5656
cmake --build build --config Release --target install
5757
- name: Compress into single artifact

0 commit comments

Comments
 (0)