Skip to content

Commit

Permalink
Show patch that failed and don't stop at first failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Mar 21, 2024
1 parent 7b842e3 commit 5c7e4ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/validation-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
branches:
- main


concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: ${{github.event_name == 'pull_request'}}
Expand Down Expand Up @@ -309,8 +308,10 @@ jobs:
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: Apply patches
run: |
CODE=0
for patch in tools/example-showcase/*.patch; do
git apply --ignore-whitespace $patch
git apply --ignore-whitespace $patch || { echo "::error::$patch failed to apply."; CODE=1; }
done
exit $CODE
- name: Build with patches
run: cargo build

0 comments on commit 5c7e4ec

Please sign in to comment.