Skip to content

nlohmann/json-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for nlohmann/json

This repository contains the Dockerfile of the image used in the CI of JSON for Modern C++.

The image is pushed automatically to DockerHub and can be used with

docker pull nlohmann/json-ci:latest

Contents

The goal is to provide a fairly recent C++ build and analysis tool chain.

Versions (as of 2022-04-04):

  • Clang 15.0.0-++20220530052901+b7d2b160c3ba-1exp120220530172952.268
  • GCC 13.0.0 20220605 (experimental)
  • ICC 2021.6.0 20220226
  • Intel(R) oneAPI DPC++ Compiler 2022.1.0 (2022.1.0.20220316)
  • Cppcheck 2.7
  • Clang-Tidy 15.0.0
  • include-what-you-use 0.12
  • CMake 3.23.2
  • Ninja 1.10.0
  • Valgrind 3.15.0
  • OCLint 22.02
  • PVS Studio 7.19.61166.216
  • LCOV 1.14
  • Artistic Style 3.1
  • Infer v1.1.0

Furthermore, some "historic" C++ compilers are available:

  • g++ 4.8.5
  • g++ 4.9.3
  • g++ 5.4.0
  • g++ 6.4.0
  • g++ 7.5.0
  • g++ 8.4.0
  • g++ 9.3.0
  • g++ 10.2.0
  • g++ 11.1.0
  • clang 3.5.2
  • clang 3.6.2
  • clang 3.7.1
  • clang 3.8.0
  • clang 3.9.1
  • clang 4.0.0
  • clang 5.0.0
  • clang 6.0.1
  • clang 7.0.1
  • clang 8.0.1
  • clang 9.0.1
  • clang 10.0.0
  • clang 11.0.0
  • clang 12.0.0
  • clang 13.0.1-++20211015123032+cf15ccdeb6d5-1exp120211015003613.5
  • clang 14.0.5-++20220603124341+2f0a69c32a4c-1exp120220603124352.149
  • nvcc 11.0.221

Scripts

Make Intel compilers available:

source /opt/intel/oneapi/setvars.sh

Collect all versions:

for TOOL in g++-latest clang++-15 icpc icpx cppcheck iwyu cmake ninja valgrind oclint pvs-studio lcov astyle infer nvcc; do echo $TOOL; $TOOL --version; echo ""; done