diff --git a/.clang-tidy b/.clang-tidy index 47a367d..82450d1 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -6,6 +6,7 @@ # modernize-avoid-c-arrays trips up in TEMPLATE_TEST_CASE catch macro # modernize-return-braced-init-list triggers on lambdas ? # modernize-make-unique requires C++14 +# readability-avoid-const-params-in-decls Affected by the pre-compile split Checks: | *bugprone*, @@ -39,7 +40,6 @@ Checks: | *performance*, -performance-unnecessary-value-param, -performance-inefficient-string-concatenation, - readability-avoid-const-params-in-decls, readability-const-return-type, readability-container-size-empty, readability-delete-null-pointer, diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1fe3762..a0b9e6c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,7 @@ jobs: strategy: matrix: std: ["11", "14", "17", "20"] + precompile: ["ON", "OFF"] steps: - uses: actions/checkout@v3 @@ -33,6 +34,7 @@ jobs: -DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCLI11_SINGLE_FILE_TESTS=OFF \ -DCLI11_EXAMPLES=OFF \ + -DCLI11_PRECOMPILED=${{matrix.precompile}} \ -DCMAKE_BUILD_TYPE=Coverage - name: Build diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fd891ba..7540a2e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,6 +16,7 @@ variables: cli11.std: 14 cli11.build_type: Debug cli11.options: -DCLI11_EXAMPLES_JSON=ON + cli11.precompile: OFF CMAKE_BUILD_PARALLEL_LEVEL: 4 jobs: @@ -33,15 +34,26 @@ jobs: matrix: Linux14: vmImage: "ubuntu-latest" + Linux14PC: + vmImage: "ubuntu-latest" + cli11.precompile: ON macOS17: vmImage: "macOS-latest" cli11.std: 17 macOS11: vmImage: "macOS-latest" cli11.std: 11 + macOS11PC: + vmImage: "macOS-latest" + cli11.std: 11 + cli11.precompile: ON Windows17: vmImage: "windows-2019" cli11.std: 17 + Windows17PC: + vmImage: "windows-2019" + cli11.std: 17 + cli11.precompile: ON Windows11: vmImage: "windows-2019" cli11.std: 11