Skip to content

Commit

Permalink
use cmake commands instead of ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Oct 23, 2023
1 parent b6b1da2 commit c6a3cf7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c6a3cf7

Please # to comment.