Skip to content

C++17 <filesystem> header (GCC 8+) #25473

Discussion options

You must be logged in to vote

According to the virtual environment documentation for ubuntu-latest (currently still at 18.04) it has a bunch of GCC versions installed:

  • GNU C++ 7.5.0, 8.4.0, 9.3.0, 10.1.0

If they follow the usual Ubuntu and Debian GCC packaging conventions you should be able to select the major version by suffixing gcc command with the version, e.g. run gcc-10 to select GCC 10.

Alternatively you can use jobs.<job_id>.container and use a container image that contains (or lets you install) whichever version you need.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants