Commit e06d7557 authored by Tomáš Pecka's avatar Tomáš Pecka

Update clang-format patch-diff path

After 37b6e68c I forgot to update this
path.
parent 37b6e68c
Pipeline #130149 passed with stages
in 14 minutes and 59 seconds
......@@ -90,7 +90,7 @@ test:worker:clang-format:
image: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-docker-images/alt-builder:latest
script:
- ANCESTOR=$(git merge-base origin/master HEAD) # find nearest common ancestor between HEAD and master
- git diff $ANCESTOR..HEAD | tee orig.patch | /usr/share/clang/clang-format-10/clang-format-diff.py -p1 | sed "s/+++ /+++ b\// g;s/--- /--- a\//g" > clang-format.patch
- git diff $ANCESTOR..HEAD | tee orig.patch | /usr/share/clang/clang-format-11/clang-format-diff.py -p1 | sed "s/+++ /+++ b\// g;s/--- /--- a\//g" > clang-format.patch
- if [[ -s clang-format.patch ]]; then cat clang-format.patch; echo "Download the patch in the artifact directory"; false; fi # file exists and has nonzero size - fail
artifacts:
when: always
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment