From 3554127624e1ded0fea8d902e5e072588fae3e12 Mon Sep 17 00:00:00 2001 From: Michael Ilyin Date: Thu, 22 Aug 2024 18:54:36 +0200 Subject: [PATCH] builds dir from ci variable --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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