Xanonymous-GitHub / gtestrin

Build your C/C++ code in container with Google Test & Valgrind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run C/C++ code in container, with Google Test and Valgrind.

How to use

  1. Add file into your project root: .devcontainer/devcontainer.json
  2. Install the Dev containers extension in vscode.
  3. Click the green button in the lower left corner of vscode and select open folder in Container...

4. Find your project folder and open it. Please note that this folder is the project folder of step 1!

More details

How to build

./distribute.sh

How to update configs here

Basically we use alpine's config for Dockerfiles, but use c++ and alpine's for devcontainer.json. The VARIANT arg in devcontainer.json uses alpine's while others use c++'s.

Then, note that the common-alpine.sh should also be traced to upgrade too.

TODO

  • Add some vscode settings into devcontainer.json.

About

Build your C/C++ code in container with Google Test & Valgrind

License:MIT License


Languages

Language:Shell 92.9%Language:Dockerfile 7.1%