Skip to content

Commit 1213afd

Browse files
committed
.github: Demote assert_compiled step
Allow the step to fail and keep running the CI, effectively now the CI only prematurely stops if compile_devicetree or compile_kernel steps fails. Signed-off-by: Jorge Marques <[email protected]>
1 parent b69b2f5 commit 1213afd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,19 @@ jobs:
113113
find . -type f -name *.ko | \
114114
xargs -I % cp --parents % dist/modules
115115
116-
- name: Assert compiled
117-
if: ${{ env.AUTO_FROM_RANGE == 'true' }}
118-
run: |
119-
source ci/build.sh
120-
assert_compiled
121-
122116
- name: Assert state
123117
if: ${{ failure() }}
124118
run: |
125119
source ci/build.sh
126120
set_step_fail "assert_state"
127121
echo "fatal=true" >> "$GITHUB_ENV"
128122
123+
- name: Assert compiled
124+
if: ${{ !cancelled() && env.fatal != 'true' && env.AUTO_FROM_RANGE == 'true' }}
125+
run: |
126+
source ci/build.sh
127+
assert_compiled
128+
129129
- name: Sparse
130130
if: ${{ !cancelled() && env.fatal != 'true' && env.CHECKS_SPARCE == 'true' }}
131131
run: |

0 commit comments

Comments
 (0)