From c6a3cf7a34f467e254e0d31a8e8fbbe7625f7ef8 Mon Sep 17 00:00:00 2001 From: Abe Winter Date: Mon, 23 Oct 2023 17:13:33 -0400 Subject: [PATCH] use cmake commands instead of ninja --- .github/workflows/debian.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 5c4af00eb..b672b3716 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -42,14 +42,12 @@ jobs: - name: remove examples # todo(RSDK-4735): no longer needed once 'all' is cleaned up run: sed -i '/add_subdirectory.examples/d' src/viam/CMakeLists.txt - - name: create build - run: mkdir build - name: cmake - working-directory: ./build - run: cmake -DCMAKE_INSTALL_PREFIX=/usr .. -G Ninja + run: cmake -S . -B ./build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr - name: build - working-directory: ./build - run: ninja libviamsdk.so && cpack + run: | + cmake --build ./build --target libviamsdk.so + cpack -B ./build - uses: actions/upload-artifact@v3 with: name: debian-${{ matrix.label }}