aminya / aminya/setup-cpp

Specifying version of cppcheck fails on MacOS and Linux

Open
#33 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
276
Forks
37
Avg merge
1d 4h
Merged PRs (30d)
12

Description

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

However, it succeeds with no problem on Windows.

https://github.com/lefticus/json2cpp/pull/7

(invalid syntax for brew?)
MacOS failure: https://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: https://github.com/lefticus/json2cpp/runs/5147554297?check_suite_focus=true#step:6:111

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked pull request and the MacOS and Ubuntu workflow logs, especially the referenced installation steps. Reproduce specifying cppcheck 2.6 on those platforms and compare the behavior with Windows. Done means version 2.6 installs successfully on MacOS and Ubuntu, or the unsupported version is reported clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.