From 1530d1f6a3fec0f272b14d9b0a57489df9d8d824 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 10 Aug 2021 14:33:48 +0200 Subject: [PATCH] ci: clang-13 support added for Conan --- .github/workflows/ci-conan.yml | 6 ++++++ .github/workflows/ci-test-package-cmake.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index ab41b8e1..1525ed23 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -126,6 +126,12 @@ jobs: conan profile update settings.compiler.libcxx=${{ matrix.config.lib }} default fi conan profile show default + - name: Add support for clang-13 to Conan's settings.yml + # TODO Remove when Conan will support clang-13 + if: matrix.config.compiler.type == 'CLANG' + shell: bash + run: | + sed -i -e 's/"8", "9", "10", "11", "12"]/"8", "9", "10", "11", "12", "13"]/' ~/.conan/settings.yml - name: Run Conan Package Tools shell: bash env: diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index 26da1b88..f3342aa1 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -144,6 +144,12 @@ jobs: conan profile update settings.compiler.libcxx=${{ matrix.config.lib }} default fi conan profile show default + - name: Add support for clang-13 to Conan's settings.yml + # TODO Remove when Conan will support clang-13 + if: matrix.config.compiler.type == 'CLANG' + shell: bash + run: | + sed -i -e 's/"8", "9", "10", "11", "12"]/"8", "9", "10", "11", "12", "13"]/' ~/.conan/settings.yml - name: Install Conan dependencies shell: bash run: |