From 024ea3e948e656578dd1f7877be1c57af3901d27 Mon Sep 17 00:00:00 2001 From: Joakim Haugen Date: Wed, 17 Jan 2024 11:12:22 +0100 Subject: [PATCH] Use profile cppstd and skip conan v1 on MSVC --- .github/workflows/ci-conan-gcc.yml | 2 -- .github/workflows/ci-conan-msvc.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci-conan-gcc.yml b/.github/workflows/ci-conan-gcc.yml index 623b8c4..bc380fb 100644 --- a/.github/workflows/ci-conan-gcc.yml +++ b/.github/workflows/ci-conan-gcc.yml @@ -19,7 +19,6 @@ jobs: format('{0}@{1}/{2}', matrix.version, 'sintef', matrix.channel) || format('--version {0} --user {1} --channel {2}', matrix.version, 'sintef', matrix.channel) }} UPLOAD_FLAGS: "${{ matrix.conan == '1.0' && '--all' || '' }}" - cppstd: "${{ matrix.compiler_version < 11 && 'gnu14' || 'gnu17' }}" strategy: fail-fast: false matrix: @@ -58,7 +57,6 @@ jobs: conan config install ${{ env.CONFIG_URL }} --type git -sf profiles -tf profiles conan create -s build_type=${{ matrix.build_type }} \ -s compiler.version=${{ matrix.compiler_version }} \ - -s compiler.cppstd=${{ env.cppstd }} \ -pr:b=${{ matrix.profile }} -pr:h=${{ matrix.profile }} \ -b missing -b outdated -b ${{ env.package_name }}* \ ${{ env.extra_cmds }} . ${{ env.PKG_REFERENCE }} diff --git a/.github/workflows/ci-conan-msvc.yml b/.github/workflows/ci-conan-msvc.yml index 87d4efa..0da3e66 100644 --- a/.github/workflows/ci-conan-msvc.yml +++ b/.github/workflows/ci-conan-msvc.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - conan: ["1.0", "2.0"] + conan: ["2.0"] profile: [msvc17] compiler_version: [191] build_type: [Debug, Release]