mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24:27 +02:00
ci: Conan 1.48 does not set CMAKE_BUILD_TYPE
in the conan_toolchain.cmake
anymore
This commit is contained in:
12
.github/workflows/ci-test-package-cmake.yml
vendored
12
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -194,13 +194,13 @@ jobs:
|
|||||||
working-directory: build/${{ matrix.build_type }}
|
working-directory: build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
call conanvcvars.bat
|
call conanvcvars.bat
|
||||||
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
- name: Configure mp-units CMake
|
- name: Configure mp-units CMake
|
||||||
if: matrix.config.compiler.type != 'VISUAL'
|
if: matrix.config.compiler.type != 'VISUAL'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: build/${{ matrix.build_type }}
|
working-directory: build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
- name: Install mp-units
|
- name: Install mp-units
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: build/${{ matrix.build_type }}
|
working-directory: build/${{ matrix.build_type }}
|
||||||
@@ -217,14 +217,14 @@ jobs:
|
|||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
working-directory: test_package/build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
call conanvcvars.bat
|
call conanvcvars.bat
|
||||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -Dmp-units_DIR=${{ github.workspace }}/build/${{ matrix.build_type }}
|
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -Dmp-units_DIR=${{ github.workspace }}/build/${{ matrix.build_type }}
|
||||||
cmake --build .
|
cmake --build .
|
||||||
- name: Build test_package CMake (local build)
|
- name: Build test_package CMake (local build)
|
||||||
if: matrix.config.compiler.type != 'VISUAL'
|
if: matrix.config.compiler.type != 'VISUAL'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
working-directory: test_package/build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -Dmp-units_DIR=${{ github.workspace }}/build/${{ matrix.build_type }}
|
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -Dmp-units_DIR=${{ github.workspace }}/build/${{ matrix.build_type }}
|
||||||
cmake --build .
|
cmake --build .
|
||||||
- name: Build test_package CMake (installation)
|
- name: Build test_package CMake (installation)
|
||||||
if: matrix.config.compiler.type == 'VISUAL'
|
if: matrix.config.compiler.type == 'VISUAL'
|
||||||
@@ -232,14 +232,14 @@ jobs:
|
|||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
working-directory: test_package/build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
call conanvcvars.bat
|
call conanvcvars.bat
|
||||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
||||||
cmake --build .
|
cmake --build .
|
||||||
- name: Build test_package CMake (installation)
|
- name: Build test_package CMake (installation)
|
||||||
if: matrix.config.compiler.type != 'VISUAL'
|
if: matrix.config.compiler.type != 'VISUAL'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
working-directory: test_package/build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
||||||
cmake --build .
|
cmake --build .
|
||||||
- name: Run test_package
|
- name: Run test_package
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user