mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
ci: workaround for Conan not supporting clang-17
This commit is contained in:
12
.github/workflows/ci-conan.yml
vendored
12
.github/workflows/ci-conan.yml
vendored
@@ -219,12 +219,12 @@ jobs:
|
|||||||
sed -i.backup '/^\[settings\]$/,/^\[/ s/^compiler.cppstd=.*/compiler.cppstd=${{ matrix.config.compiler.std }}/' ~/.conan2/profiles/default
|
sed -i.backup '/^\[settings\]$/,/^\[/ s/^compiler.cppstd=.*/compiler.cppstd=${{ matrix.config.compiler.std }}/' ~/.conan2/profiles/default
|
||||||
sed -i.backup '/^\[settings\]$/,/^\[/ s/^build_type=.*/build_type=${{ matrix.build_type }}/' ~/.conan2/profiles/default
|
sed -i.backup '/^\[settings\]$/,/^\[/ s/^build_type=.*/build_type=${{ matrix.build_type }}/' ~/.conan2/profiles/default
|
||||||
conan profile show -pr default
|
conan profile show -pr default
|
||||||
# - name: Add support for clang-13 to Conan's settings.yml
|
- name: Add support for clang-17 to Conan's settings.yml
|
||||||
# # TODO Remove when Conan will support clang-13
|
# TODO Remove when Conan will support clang-17
|
||||||
# if: matrix.config.compiler.type == 'CLANG'
|
if: matrix.config.compiler.type == 'CLANG'
|
||||||
# shell: bash
|
shell: bash
|
||||||
# run: |
|
run: |
|
||||||
# sed -i -e 's/"8", "9", "10", "11", "12"]/"8", "9", "10", "11", "12", "13"]/' ~/.conan/settings.yml
|
sed -i -e 's/"8", "9", "10", "11", "12", "13", "14", "15", "16"]/"8", "9", "10", "11", "12", "13", "14", "15", "16", "17"]/' ~/.conan2/settings.yml
|
||||||
- name: Create Conan package
|
- name: Create Conan package
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
12
.github/workflows/ci-test-package-cmake.yml
vendored
12
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -197,12 +197,12 @@ jobs:
|
|||||||
sed -i.backup '/^\[settings\]$/,/^\[/ s/^compiler.cppstd=.*/compiler.cppstd=${{ matrix.config.compiler.std }}/' ~/.conan2/profiles/default
|
sed -i.backup '/^\[settings\]$/,/^\[/ s/^compiler.cppstd=.*/compiler.cppstd=${{ matrix.config.compiler.std }}/' ~/.conan2/profiles/default
|
||||||
sed -i.backup '/^\[settings\]$/,/^\[/ s/^build_type=.*/build_type=${{ matrix.build_type }}/' ~/.conan2/profiles/default
|
sed -i.backup '/^\[settings\]$/,/^\[/ s/^build_type=.*/build_type=${{ matrix.build_type }}/' ~/.conan2/profiles/default
|
||||||
conan profile show -pr default
|
conan profile show -pr default
|
||||||
# - name: Add support for clang-13 to Conan's settings.yml
|
- name: Add support for clang-17 to Conan's settings.yml
|
||||||
# # TODO Remove when Conan will support clang-13
|
# TODO Remove when Conan will support clang-17
|
||||||
# if: matrix.config.compiler.type == 'CLANG'
|
if: matrix.config.compiler.type == 'CLANG'
|
||||||
# shell: bash
|
shell: bash
|
||||||
# run: |
|
run: |
|
||||||
# sed -i -e 's/"8", "9", "10", "11", "12"]/"8", "9", "10", "11", "12", "13"]/' ~/.conan/settings.yml
|
sed -i -e 's/"8", "9", "10", "11", "12", "13", "14", "15", "16"]/"8", "9", "10", "11", "12", "13", "14", "15", "16", "17"]/' ~/.conan2/settings.yml
|
||||||
- name: Install Conan dependencies
|
- name: Install Conan dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user