Use clang 18/17/16 instead of 15/14/13

This commit is contained in:
Siarhei Fedartsou 2024-07-01 16:26:33 +02:00
parent d1eb3a1add
commit d2cf23c329

View File

@ -498,6 +498,8 @@ jobs:
- name: Add Clang 18 to list of Conan compilers - name: Add Clang 18 to list of Conan compilers
if: ${{ matrix.ENABLE_CONAN == 'ON' }} if: ${{ matrix.ENABLE_CONAN == 'ON' }}
run: | run: |
sudo wget https://github.com/mikefarah/yq/releases/download/v4.9.6/yq_linux_amd64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
conan config init conan config init
ls -R $HOME/.conan/ ls -R $HOME/.conan/
@ -505,11 +507,14 @@ jobs:
# Path to the settings.yml file # Path to the settings.yml file
SETTINGS_PATH="$HOME/.conan/settings.yml" SETTINGS_PATH="$HOME/.conan/settings.yml"
cat $SETTINGS_PATH
echo "AAA:" echo "AAA:"
conan config list cat $SETTINGS_PATH
echo "BBB"
yq eval '.compiler.clang.version += ["18"]' -i $SETTINGS_PATH
echo "BBB:"
cat $SETTINGS_PATH