builds: check code style
This commit is contained in:
parent
93c8ec4e25
commit
01ec87ad8a
2 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
image: alpine/edge
|
image: alpine/edge
|
||||||
packages:
|
packages:
|
||||||
- clang
|
- clang
|
||||||
|
- clang-extra-tools
|
||||||
- gcc
|
- gcc
|
||||||
sources:
|
sources:
|
||||||
- "https://git.sr.ht/~jeremy/callisto"
|
- "https://git.sr.ht/~jeremy/callisto"
|
||||||
|
@ -19,3 +20,7 @@ tasks:
|
||||||
sudo make -Ccallisto install
|
sudo make -Ccallisto install
|
||||||
- test: |
|
- test: |
|
||||||
csto callisto/test.lua
|
csto callisto/test.lua
|
||||||
|
- format: |
|
||||||
|
cd callisto
|
||||||
|
make format
|
||||||
|
git diff --exit-code
|
||||||
|
|
|
@ -24,5 +24,9 @@ tasks:
|
||||||
sudo make -Ccallisto install
|
sudo make -Ccallisto install
|
||||||
- test: |
|
- test: |
|
||||||
csto callisto/test.lua
|
csto callisto/test.lua
|
||||||
|
- format: |
|
||||||
|
cd callisto
|
||||||
|
make format
|
||||||
|
git diff --exit-code
|
||||||
- flake: |
|
- flake: |
|
||||||
nix build ./callisto
|
nix build ./callisto
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue