From 099b5de8efcecf77a9af8e09c094ead98d9b102f Mon Sep 17 00:00:00 2001 From: Andrea Valassi Date: Sat, 12 Oct 2024 13:53:40 +0200 Subject: [PATCH 1/2] [actions] add a debug printout in tools/mg-clang-format/mg-clang-format (debug why github CI fails clang-format) --- tools/mg-clang-format/mg-clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mg-clang-format/mg-clang-format b/tools/mg-clang-format/mg-clang-format index 9f36462da3..0f1a819a96 100755 --- a/tools/mg-clang-format/mg-clang-format +++ b/tools/mg-clang-format/mg-clang-format @@ -20,6 +20,7 @@ if [ ${clangVersion} -ge 13 ] && [ ${clangVersion} -le 15 ]; then else if [ ! -d /cvmfs/sft.cern.ch/lcg/releases/clang ]; then echo "ERROR! clang-format version >= 13 and <= 15 is not installed and /cvmfs/sft.cern.ch/lcg/releases/clang is not reachable" + echo "ERROR! current clang-format version is '$clangVersion'" exit 1 fi redrel=$(cat /etc/redhat-release 2> /dev/null) From 45e67b7be1dd8266d3fc854b7c6bcd22806c4046 Mon Sep 17 00:00:00 2001 From: Andrea Valassi Date: Sat, 12 Oct 2024 14:08:47 +0200 Subject: [PATCH 2/2] [actions] in testsuite_oneprocess.yml, downgrade ubuntu-latest to ubuntu-22.04 in the codegen step because clang-format-18 is not yet supported (#1022) --- .github/workflows/testsuite_oneprocess.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testsuite_oneprocess.yml b/.github/workflows/testsuite_oneprocess.yml index 2afc62b885..a43fe7939a 100644 --- a/.github/workflows/testsuite_oneprocess.yml +++ b/.github/workflows/testsuite_oneprocess.yml @@ -96,7 +96,11 @@ jobs: #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ codegen: - runs-on: ubuntu-latest + ###runs-on: ubuntu-latest + # Temporarely dowgrade ubuntu-latest to ubuntu-22.04 in codegen step because clang-format-18 is not yet supported (#1022) + # See https://github.com/actions/runner-images/issues/5490 + # See https://github.com/actions/runner-images/issues/10636 + runs-on: ubuntu-22.04 needs: cleanup steps: