mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
ci: Setting CMake generator in Conan fixed for VS2019
This commit is contained in:
2
.github/workflows/ci-test-package-cmake.yml
vendored
2
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -84,7 +84,6 @@ jobs:
|
|||||||
CC: ${{ matrix.config.compiler.cc }}
|
CC: ${{ matrix.config.compiler.cc }}
|
||||||
CXX: ${{ matrix.config.compiler.cxx }}
|
CXX: ${{ matrix.config.compiler.cxx }}
|
||||||
CMAKE_GENERATOR: Ninja
|
CMAKE_GENERATOR: Ninja
|
||||||
CONAN_CMAKE_GENERATOR: Ninja
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -143,6 +142,7 @@ jobs:
|
|||||||
if [[ "${{ matrix.config.compiler.type }}" == "GCC" || "${{ matrix.config.compiler.type }}" == "CLANG" ]]; then
|
if [[ "${{ matrix.config.compiler.type }}" == "GCC" || "${{ matrix.config.compiler.type }}" == "CLANG" ]]; then
|
||||||
conan profile update settings.compiler.libcxx=${{ matrix.config.lib }} default
|
conan profile update settings.compiler.libcxx=${{ matrix.config.lib }} default
|
||||||
fi
|
fi
|
||||||
|
conan profile update conf.tools.cmake.cmaketoolchain:generator=Ninja default
|
||||||
conan profile show default
|
conan profile show default
|
||||||
- name: Add support for clang-13 to Conan's settings.yml
|
- name: Add support for clang-13 to Conan's settings.yml
|
||||||
# TODO Remove when Conan will support clang-13
|
# TODO Remove when Conan will support clang-13
|
||||||
|
Reference in New Issue
Block a user