diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 326d152e8..0e21695e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,8 +90,9 @@ jobs: - name: Build with CMake run: | - cmake -DCMAKE_TOOLCHAIN_FILE=build/${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} - cmake --build build/${{ matrix.build_type }} + cd build + cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + cmake --build ${{ matrix.build_type }} - name: Run Tests run: ctest --test-dir build/${{ matrix.build_type }} \ No newline at end of file