build: CMAKE_TOOLCHAIN_FILE fixed for test_package workflow

This commit is contained in:
Mateusz Pusz
2020-12-21 23:42:28 +01:00
parent 56fd5c04ae
commit 053c17be09

View File

@@ -81,7 +81,7 @@ jobs:
- name: Configure mp-units CMake
run: |
cd build/${{ matrix.build_type }}
cmake ../../src -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake
cmake ../../src -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
- name: Install mp-units
run: |
cd build/${{ matrix.build_type }}
@@ -89,7 +89,7 @@ jobs:
- name: Configure test_package CMake
run: |
mkdir -p test_package/build/${{ matrix.build_type }} && cd test_package/build/${{ matrix.build_type }}
cmake ../.. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package -DCMAKE_TOOLCHAIN_FILE=../../../build/${{ matrix.build_type }}/conan_paths.cmake
cmake ../.. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package -DCMAKE_TOOLCHAIN_FILE=../../../build/${{ matrix.build_type }}/conan_toolchain.cmake
- name: Build test_package
run: |
cd test_package/build/${{ matrix.build_type }}