Skip to content

Commit

Permalink
Use profile cppstd and skip conan v1 on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimono committed Jan 17, 2024
1 parent a6da976 commit 024ea3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-conan-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-conan-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 024ea3e

Please sign in to comment.