From d2cf23c3295793a669db2eed2f91eb7ceba7fb36 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Mon, 1 Jul 2024 16:26:33 +0200 Subject: [PATCH] Use clang 18/17/16 instead of 15/14/13 --- .github/workflows/osrm-backend.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index cf2d6d8b2..c06ed93f0 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -498,6 +498,8 @@ jobs: - name: Add Clang 18 to list of Conan compilers if: ${{ matrix.ENABLE_CONAN == 'ON' }} 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 ls -R $HOME/.conan/ @@ -505,11 +507,14 @@ jobs: # Path to the settings.yml file SETTINGS_PATH="$HOME/.conan/settings.yml" - cat $SETTINGS_PATH echo "AAA:" - conan config list - echo "BBB" + cat $SETTINGS_PATH + + yq eval '.compiler.clang.version += ["18"]' -i $SETTINGS_PATH + + echo "BBB:" + cat $SETTINGS_PATH