diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06e81b973..34f01cfa9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,10 +89,10 @@ jobs: - name: Build examples with zenoh-c as subbroject and static library and in debug mode and in separate directory shell: bash run: | - 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 + mkdir -p $CI_BUILDS_DIR/build_examples + cmake -S examples -B $CI_BUILDS_DIR/build_examples -DCMAKE_BUILD_TYPE=Debug -DZENOHC_LIB_STATIC=TRUE + cmake --build $CI_BUILDS_DIR/build_examples --config Debug + rm -rf $CI_BUILDS_DIR/build_examples - name: Build examples with zenoh-c as installed package shell: bash