mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
ci: new: codespell
This commit is contained in:
parent
547423556c
commit
3d8bdfadb4
2 changed files with 15 additions and 0 deletions
|
@ -21,6 +21,8 @@ packages:
|
||||||
- alsa-lib-dev
|
- alsa-lib-dev
|
||||||
- ttf-dejavu
|
- ttf-dejavu
|
||||||
- gcovr
|
- gcovr
|
||||||
|
- python3
|
||||||
|
- py3-pip
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
- https://codeberg.org/dnkl/yambar
|
- https://codeberg.org/dnkl/yambar
|
||||||
|
@ -31,6 +33,10 @@ sources:
|
||||||
# to: <comitter>
|
# to: <comitter>
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- codespell: |
|
||||||
|
pip install codespell
|
||||||
|
cd yambar
|
||||||
|
~/.local/bin/codespell *.c *.h
|
||||||
- setup: |
|
- setup: |
|
||||||
mkdir -p bld/debug bld/release bld/x11-only bld/wayland-only bld/plugs-are-shared
|
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
|
meson --buildtype=debug -Db_coverage=true yambar bld/debug
|
||||||
|
|
|
@ -88,3 +88,12 @@ plugins_as_shared_modules:
|
||||||
- meson --buildtype=debug -Dcore-plugins-as-shared-libraries=true ../../
|
- meson --buildtype=debug -Dcore-plugins-as-shared-libraries=true ../../
|
||||||
- ninja -k0
|
- ninja -k0
|
||||||
- meson test --print-errorlogs
|
- meson test --print-errorlogs
|
||||||
|
|
||||||
|
codespell:
|
||||||
|
image: alpine:edge
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- apk add python3
|
||||||
|
- apk add py3-pip
|
||||||
|
- pip install codespell
|
||||||
|
- codespell *.c *.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue