ci: new: codespell

This commit is contained in:
Daniel Eklöf 2020-12-25 12:30:40 +01:00
parent 547423556c
commit 3d8bdfadb4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 15 additions and 0 deletions

View file

@ -21,6 +21,8 @@ packages:
- alsa-lib-dev
- ttf-dejavu
- gcovr
- python3
- py3-pip
sources:
- https://codeberg.org/dnkl/yambar
@ -31,6 +33,10 @@ sources:
# to: <comitter>
tasks:
- codespell: |
pip install codespell
cd yambar
~/.local/bin/codespell *.c *.h
- setup: |
mkdir -p bld/debug bld/release bld/x11-only bld/wayland-only bld/plugs-are-shared
meson --buildtype=debug -Db_coverage=true yambar bld/debug

View file

@ -88,3 +88,12 @@ plugins_as_shared_modules:
- meson --buildtype=debug -Dcore-plugins-as-shared-libraries=true ../../
- ninja -k0
- meson test --print-errorlogs
codespell:
image: alpine:edge
stage: build
script:
- apk add python3
- apk add py3-pip
- pip install codespell
- codespell *.c *.h