Skip to content

Commit

Permalink
compile_test: print reject hunks
Browse files Browse the repository at this point in the history
  • Loading branch information
Redecorating authored Nov 20, 2023
1 parent a8e6c2f commit ba47773
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/compile_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
scripts/checkpatch.pl --no-signoff --terse --no-summary \
$(echo ../*.patch | tr " " "\n" | grep -v -e "apple-bce" -e asahi -e applesmc -e bcm5974 ) || true
- name: Apply Patches
id: apply-patches
run: |
source ./version
cd linux-$KVER
Expand All @@ -43,6 +44,12 @@ jobs:
echo "Applying patch $patch..."
patch -Np1 < $patch
done
- name: Print reject hunks
run: |
source ./version
cd linux-$KVER
cat $(find . -type f -name '|.rej') /dev/null
if: always() && (steps.apply-patches.outcome == "failure")

- name: Setting Config
run: |
Expand Down

0 comments on commit ba47773

Please sign in to comment.