Skip to content

Specifying version of cppcheck fails on MacOS and Linux #33

Open

Description

@lefticus

Attempting to set cppcheck: 2.6 on MacOS or Linux fails to install a package.

However, it succeeds with no problem on Windows.

lefticus/json2cpp#7

(invalid syntax for brew?)
MacOS failure: http://github.com/lefticus/json2cpp/runs/5147554453?check_suite_focus=true#step:6:76

(ubuntu 20.04 package manager doesn't know cppcheck version 2.6)
Ubuntu Failure: http://github.com/lefticus/json2cpp/runs/5147554297?check_suite_focus=true#step:6:111

Activity

  1. aminya commented on Feb 10, 2022

    @aminya
    Owner

    We can fix this. Allowing any versions require adding a GitHub-based setup for cppcheck similar to how I do it for llvm and ninja

    http://github.com/danmar/cppcheck/releases/

  2. aminya commented on Feb 10, 2022

    @aminya
    Owner

    Oh, they do not provide binaries for Linux and Macos on Github.

  3. yapolyak commented on Dec 12, 2023

    @yapolyak

    As a follow-up - currently cppcheck-2.7 is being installed for ubuntu-latest - is there still no way to provide explicit (more modern) version? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions