Skip to content

Containers for building C on CI

Notifications You must be signed in to change notification settings

foonathan/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.30.3
  • 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-18 on Debian bookworm

Image ghcr.io/foonathan/gcc:

  • GCC 7-14