File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,15 @@ jobs:
3333 - name : Install Conan dependencies
3434 if : env.BUILD_TESTS == 'ON'
3535 run : |
36- conan install . --output-folder=build --build=missing -s build_type=${{env.BUILD_TYPE}}
36+ conan install ${{github.workspace}} --output-folder=${{github.workspace}}/ build --build=missing -s build_type=${{env.BUILD_TYPE}}
3737
3838 - name : Configure CMake
3939 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4040 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
41- run : cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
42- -DBUILD_TESTS=${{env.BUILD_TESTS}} \
43- -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/build/build/Release/generators/conan_toolchain.cmake
41+ run : cmake -B build -S ${{github.workspace}} \
42+ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
43+ -DBUILD_TESTS=${{env.BUILD_TESTS}} \
44+ -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/build/build/Release/generators/conan_toolchain.cmake
4445
4546 - name : Build
4647 # Build your program with the given configuration
You can’t perform that action at this time.
0 commit comments