diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e04a33e7..7d5831356 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,12 +124,7 @@ jobs: - name: Installing CodeChecker if: ${{ contains(env['RUN_ANALYZER'], 'code-checker') }} - run: | - sudo apt install clang-tidy curl doxygen gcc-multilib libxml2-dev libxslt1-dev python3-dev python3-virtualenv - git clone https://github.com/Ericsson/CodeChecker.git --depth 1 --branch v6.15.0 - cd CodeChecker - BUILD_LOGGER_64_BIT_ONLY=YES BUILD_UI_DIST=NO make standalone_package - echo "$PWD/build/CodeChecker/bin" >> $GITHUB_PATH + run: sudo snap install codechecker --classic - name: Expose llvm PATH for Mac if: ${{ runner.os == 'macOS' }} diff --git a/tests/cmake.py b/tests/cmake.py index c59ba6db8..a0566023a 100644 --- a/tests/cmake.py +++ b/tests/cmake.py @@ -175,7 +175,7 @@ def cmake(cwd, targets, options=None): buildcmd.append("--parallel") if "code-checker" in os.environ.get("RUN_ANALYZER", ""): buildcmd = [ - "CodeChecker", + "codechecker", "log", "--output", "compilation.json", @@ -206,7 +206,7 @@ def cmake(cwd, targets, options=None): ] disables = ["--disable={}".format(d) for d in disable] checkcmd = [ - "CodeChecker", + "codechecker", "check", "--jobs", str(os.cpu_count()),