From b27c2435bb05a2fabe3ddb8210d3386c888452f9 Mon Sep 17 00:00:00 2001 From: Christian Tacke <58549698+ChristianTackeGSI@users.noreply.github.com> Date: Wed, 16 Nov 2022 13:27:16 +0100 Subject: [PATCH 1/2] clang-tidy: Add cppcoreguidelines-pro-type-member-init Avoid unitialized member variables --- .clang-tidy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 10bb1fb058..214f57a1c5 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -9,6 +9,8 @@ HeaderFilterRegex: '.*' # Avoid undefined behaviour # * cppcoreguidelines-pro-type-cstyle-cast # Avoid C-Style Casts which might be problematic +# * cppcoreguidelines-pro-type-member-init +# Avoid unitialized member variables # enable google-build-using-namespace # "using namespace" imports a changing amount of symbols, avoid it # improve readability: @@ -22,6 +24,7 @@ Checks: >- -bugprone-unhandled-self-assignment, -bugprone-reserved-identifier, cppcoreguidelines-pro-type-cstyle-cast, + cppcoreguidelines-pro-type-member-init, cppcoreguidelines-virtual-class-destructor, modernize-make-unique, google-build-using-namespace, From ac95a3177da18d32de9ba8cc6e8ee31ecb95cad9 Mon Sep 17 00:00:00 2001 From: Christian Tacke <58549698+ChristianTackeGSI@users.noreply.github.com> Date: Mon, 12 Jun 2023 18:14:56 +0200 Subject: [PATCH 2/2] DO-NOT-MERGE: Only important builds --- Jenkinsfile | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dc987cb587..8c11bd6e83 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,39 +1,14 @@ #!groovy def macos_builds = [ - [os: "macos", ver: "13", arch: "x86_64", compiler: "apple-clang-14", fairsoft: "24.01"], - [os: "macos", ver: "14", arch: "x86_64", compiler: "apple-clang-14", fairsoft: "24.01"], - [os: "macos", ver: "14", arch: "arm64", compiler: "apple-clang-15", fairsoft: "24.01"], ] def linux_builds = [ - [os: "debian", ver: "10", compiler: "gcc-8", fairsoft: "jan24_patches", image: "jan24"], - [os: "debian", ver: "10", compiler: "gcc-8", fairsoft: "jan24_patches_mt", image: "jan24"], - [os: "debian", ver: "10", compiler: "gcc-8", fairsoft: "nov22_patches", image: "nov22"], - [os: "debian", ver: "10", compiler: "gcc-8", fairsoft: "apr22_patches", image: "apr22"], - [os: "debian", ver: "11", compiler: "gcc-10", fairsoft: "jan24_patches", image: "jan24"], - [os: "debian", ver: "11", compiler: "gcc-10", fairsoft: "jan24_patches_mt", image: "jan24"], - [os: "debian", ver: "11", compiler: "gcc-10", fairsoft: "nov22_patches", image: "nov22"], - [os: "debian", ver: "11", compiler: "gcc-10", fairsoft: "apr22_patches", image: "apr22"], - [os: "debian", ver: "12", compiler: "gcc-12", fairsoft: "jan24_patches", image: "jan24"], - [os: "debian", ver: "12", compiler: "gcc-12", fairsoft: "jan24_patches_mt", image: "jan24"], - [os: "debian", ver: "12", compiler: "gcc-12", fairsoft: "nov22_patches", image: "nov22"], - [os: "fedora", ver: "39", compiler: "gcc-13", fairsoft: "jan24_patches", image: "jan24"], - [os: "fedora", ver: "39", compiler: "gcc-13", fairsoft: "jan24_patches_mt", image: "jan24"], - [os: "ubuntu", ver: "20.04", compiler: "gcc-9", fairsoft: "jan24_patches", image: "jan24"], - [os: "ubuntu", ver: "20.04", compiler: "gcc-9", fairsoft: "jan24_patches_mt", image: "jan24"], - [os: "ubuntu", ver: "20.04", compiler: "gcc-9", fairsoft: "nov22_patches", image: "nov22"], - [os: "ubuntu", ver: "20.04", compiler: "gcc-9", fairsoft: "apr22_patches", image: "apr22"], - [os: "ubuntu", ver: "22.04", compiler: "gcc-11", fairsoft: "jan24_patches", image: "jan24"], - [os: "ubuntu", ver: "22.04", compiler: "gcc-11", fairsoft: "jan24_patches_mt", image: "jan24"], - [os: "ubuntu", ver: "22.04", compiler: "gcc-11", fairsoft: "nov22_patches", image: "nov22"], - [os: "ubuntu", ver: "22.04", compiler: "gcc-11", fairsoft: "apr22_patches", image: "apr22"], [os: "ubuntu", ver: "rolling", compiler: "current", fairsoft: "dev", check: "warnings", extra: "-DUSE_CLANG_TIDY=ON -DBUILD_MBS=OFF -DBUILD_PROOF_SUPPORT=OFF"], ] def linux_checks = [ - [os: 'ubuntu', ver: 'rolling', compiler: 'current', fairsoft: 'dev', check: 'doxygen'], ] def isBranchBuild() {