Add clang-format
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Sebastian Ranoszek 2025-04-04 19:48:59 +02:00
parent 6f38776809
commit 79b16ccc81

View file

@ -52,18 +52,23 @@ steps:
- name: Confirm-Build
image: alpine
commands:
- apk add --no-cache g++ libc-dev git clang clang-extra-tools
- echo "Checking for changes..."
- git config --global user.name "nyosic"
- git config --global user.email "nyosic@xyro.win"
- git add .
- git diff --cached --quiet || (git commit -m "Apply clang-format changes [skip ci]" && git push origin HEAD)
- ls -al build
- echo "Build is mint!"
depends_on:
- Build
- Test-Debian
- name: push-commit
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: gh-pages
local_ref: gh-pages
commit_message: "Apply clang-format changes [skip ci]"
commit: true
depends_on:
- Confirm-Build
- name: Release
image: plugins/gitea-release
settings: