From f344c836c9111887b2f5460a631d7a234e0482c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gr=C3=A9goire?= Date: Sat, 5 Dec 2020 16:06:07 +0100 Subject: [PATCH] CMake: Use ${{runner.workspace}}/build instead of ./build --- ci/cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/cmake.yml b/ci/cmake.yml index 0a8b093..569aa86 100644 --- a/ci/cmake.yml +++ b/ci/cmake.yml @@ -24,11 +24,11 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build # Build your program with the given configuration - run: cmake --build build --config ${{env.BUILD_TYPE}} + run: cmake --build ${{runner.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Test working-directory: ${{runner.workspace}}/build