summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-10 15:08:11 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-12 11:35:16 (GMT)
commitbca69d4272b975e7cad7b8dd780cf45dc30f6b68 (patch)
tree69d8455fb1eee37d2394f8eeaac8674ad1428c07
parentbf35f3848a95c1dbebe09f2f1fca6ba4635b5aec (diff)
downloadCMake-bca69d4272b975e7cad7b8dd780cf45dc30f6b68.zip
CMake-bca69d4272b975e7cad7b8dd780cf45dc30f6b68.tar.gz
CMake-bca69d4272b975e7cad7b8dd780cf45dc30f6b68.tar.bz2
gitlab-ci: add codespell lint job
-rw-r--r--.codespellrc2
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--.gitlab/os-linux.yml7
3 files changed, 14 insertions, 1 deletions
diff --git a/.codespellrc b/.codespellrc
index c450ea2..ba0fba6 100644
--- a/.codespellrc
+++ b/.codespellrc
@@ -5,5 +5,5 @@ count =
# Disable warnings about binary files
quiet-level = 2
builtin = clear,rare,en-GB_to_en-US
-skip = */.git,*/Copyright.txt,*/doxygen.config,*/Modules/Internal/CPack/NSIS.template.in,*/Source/CursesDialog/form/*,*/Source/kwsys/*,*/Tests/RunCMake/CPack/tests/DMG_SLA/German.*,*/Utilities/cm*
+skip = */.git,*/build,*/Copyright.txt,*/doxygen.config,*/Modules/Internal/CPack/NSIS.template.in,*/Source/CursesDialog/form/*,*/Source/kwsys/*,*/Tests/RunCMake/CPack/tests/DMG_SLA/German.*,*/Utilities/cm*
ignore-words-list = aci,ake,ans,ba,cconfiguration,conly,dependees,dne,dum,earch,ect,filetest,fo,helpfull,hiden,isnt,keypair,nd,ned,nin,nknown,ot,pard,seh,ser,te,upto,varn,vas,wee
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d4e7f5..aac1d9c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -99,6 +99,12 @@ upload:help:stage:
# Lint builds
+lint:codespell:
+ extends:
+ - .cmake_codespell_linux
+ - .linux_builder_tags
+ - .run_automatically
+
lint:debian10-iwyu:
extends:
- .debian10_iwyu
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index f608474..1bf4098 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -258,6 +258,13 @@
interruptible: true
+.cmake_codespell_linux:
+ stage: build
+ extends: .fedora34
+ script:
+ - codespell
+ interruptible: true
+
.cmake_build_linux:
stage: build