I would really love to see a video of 1) how to set up C++ to run on latest version of Ubuntu, including how to run tests locally, and the version that runs tests correctly.
Not knowing much about C++, the Dockerfile uses alpine:3.18, within which I get:
$ g++ --version g++ (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924
Hello @SoldierCoder, we aim for C++ version 17.
I assume you also want to know the type and version of the compiler, that is used by the test-runner? That would be
gcc/x86_64-alpine-linux-musl/12.2.1, as senekor has already posted above.
If you are using ubuntu, you need make, cmake, and GCC. Eventual other dependencies should be included included by your package manager. For Ubuntu you can use
sudo apt install gcc cmake make. That should do for the installation part.
Did you see the documentation on the c++ track? If it was not helpful for you, I’d be very interested in your comments to make the section easier to follow.
FWIW, I have been running tests locally on new install of Pop that installed g++11.4 by default (I have to imagine Ubuntu would install the same). Been running all tests locally without issues. As mentioned above, the C++ standard used is C++17. “Version” is an unfortunately nebulous word in the context of C++. Good luck!