From 63185029099eb54dbcb3b969b6556c201cfe768f Mon Sep 17 00:00:00 2001 From: sha512sum Date: Sun, 10 Nov 2024 15:09:53 +0000 Subject: [PATCH] Use LLVM 19.1.3 instead LLVM 19.1.1 and continue CI if clang-format failed --- .forgejo/workflows/pr_check.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/pr_check.yaml b/.forgejo/workflows/pr_check.yaml index 1df25d7..78165ef 100644 --- a/.forgejo/workflows/pr_check.yaml +++ b/.forgejo/workflows/pr_check.yaml @@ -13,9 +13,9 @@ jobs: pacman -S --noconfirm cmake make gcc ninja meson pacman -S --noconfirm gtk4 gtkmm-4.0 boost spdlog fmt libxml++-5.0 gtest - - name: Setup environment - Install LLVM-19.1.1 + - name: Setup environment - Install LLVM-19.1.3 run: | - export LLVM_VER=19.1.1 + export LLVM_VER=19.1.3 echo "::group::Download LLVM-${LLVM_VER}" wget https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VER}/LLVM-${LLVM_VER}-Linux-X64.tar.xz -O /LLVM-${LLVM_VER}-Linux-X64.tar.xz @@ -105,8 +105,10 @@ jobs: # key: LLVM-${LLVM_VER}-Linux-X64-small - name: Check clang-format + id: clang_format_check + continue-on-error: true run: | - export LLVM_VER=19.1.1 + export LLVM_VER=19.1.3 export PATH="/home/LLVM-${LLVM_VER}/bin:${PATH}" cd ${{ github.workspace }} export REPO_FILES=$(cat repo_files_to_check.txt) @@ -146,7 +148,7 @@ jobs: id: clang_build continue-on-error: true run: | - export LLVM_VER=19.1.1 + export LLVM_VER=19.1.3 export PATH="/home/LLVM-${LLVM_VER}/bin:${PATH}" mkdir -p ${{ github.workspace }}/build_clang @@ -170,7 +172,7 @@ jobs: id: clang_tidy continue-on-error: true run: | - export LLVM_VER=19.1.1 + export LLVM_VER=19.1.3 export PATH="/home/LLVM-${LLVM_VER}/bin:${PATH}" cd ${{ github.workspace }} @@ -195,7 +197,7 @@ jobs: #- name: Clang unit tests with -fsanitize=address # run: | - # export LLVM_VER=19.1.1 + # export LLVM_VER=19.1.3 # export PATH="/home/LLVM-${LLVM_VER}/bin:${PATH}" # cd ${{ github.workspace }}/build_clang # ASAN_SYMBOLIZER_PATH=llvm-symbolizer ASAN_OPTIONS=detect_stack_use_after_return=1:check_initialization_order=1:detect_leaks=1:atexit=1:abort_on_error=1 ./larra_xmpp_tests