Skip to content

Commit

Permalink
test for build in separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Aug 22, 2024
1 parent 4def195 commit 9b51a85
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ jobs:
cd build
cmake --build . --target examples
- name: Build examples with zenoh-c as subbroject and static library and in debug mode
- name: Build examples with zenoh-c as subbroject and static library and in debug mode and in separate directory
shell: bash
run: |
mkdir -p build_examples && cd build_examples
cmake ../examples -DCMAKE_BUILD_TYPE=Debug -DZENOHC_LIB_STATIC=TRUE
cmake --build . --config Debug
cd .. && rm -rf build_examples
cd .. & mkdir -p build_examples
cmake -S zenoh-c/examples -B build_examples -DCMAKE_BUILD_TYPE=Debug -DZENOHC_LIB_STATIC=TRUE
cmake --build build_examples --config Debug
rm -rf build_examples
- name: Build examples with zenoh-c as installed package
shell: bash
Expand Down

0 comments on commit 9b51a85

Please sign in to comment.