diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-12-05 20:38:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-12-05 22:43:35 (GMT) |
commit | a7be3c961fd3f192fedda6244e744997be35ef7a (patch) | |
tree | 3e0db1041a0f9a7335bb9c4edcb5083f9ce10cf6 /.gitlab | |
parent | 372ce5bffeb665789969b9e9467b82e73d42510f (diff) | |
download | CMake-a7be3c961fd3f192fedda6244e744997be35ef7a.zip CMake-a7be3c961fd3f192fedda6244e744997be35ef7a.tar.gz CMake-a7be3c961fd3f192fedda6244e744997be35ef7a.tar.bz2 |
ci: build clang-tidy plugin in pre-build step
And use sccache and Ninja.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/pre_build_fedora37_tidy.sh (renamed from .gitlab/ci/env_fedora37_tidy.sh) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/ci/env_fedora37_tidy.sh b/.gitlab/ci/pre_build_fedora37_tidy.sh index f9f08a3..7580ef1 100644 --- a/.gitlab/ci/env_fedora37_tidy.sh +++ b/.gitlab/ci/pre_build_fedora37_tidy.sh @@ -1,7 +1,9 @@ cmake \ + -G Ninja \ -S Utilities/ClangTidyModule \ -B Utilities/ClangTidyModule/build \ -DCMAKE_BUILD_TYPE=Release \ - -DRUN_TESTS=ON + -DRUN_TESTS=ON \ + -DCMAKE_CXX_COMPILER_LAUNCHER=sccache cmake --build Utilities/ClangTidyModule/build ctest --test-dir Utilities/ClangTidyModule/build --output-on-failure |