foonathan / docker

Containers for building C++ on CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

foonathan/docker

This is a collection of docker container I use to test my projects on CI. They are designed to compile a CMake project using Ninja and a specific compiler version and run the tests; not to actually build a released executable or anything like that.

Common Software

  • curl
  • git
  • CMake 3.27.6
  • ninja

It is designed for a basic CMake workflow:

cmake /path/to/src
cmake --build .
ctest

This will automatically select the specific compiler and Ninja as generator.

Image ghcr.io/foonathan/clang:

  • clang 6-10 on Debian buster
  • clang 11-15 on Debian bullseye
  • clang 16 on Debian bookworm

Image ghcr.io/foonathan/gcc:

  • GCC 7-13

About

Containers for building C++ on CI


Languages

Language:Shell 77.1%Language:Dockerfile 18.4%Language:CMake 2.9%Language:C++ 1.5%