Skip to content

Commit

Permalink
ci: build-yocto: add dependency on check-layer job
Browse files Browse the repository at this point in the history
We should run the jobs with some interdependence.
The check-layer job should be done first than the build jobs themselves
and if the first one fails, the rest will no longer be executed.

Also merge this two jobs since since there are dependencies between them.

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Oct 15, 2024
1 parent 922e7f5 commit 468e42e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ on:
- main

jobs:
yocto-check-layer:
runs-on: [self-hosted, x86]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run yocto-check-layer
run: |
ci/yocto-check-layer.sh
compile:
needs: yocto-check-layer
strategy:
fail-fast: true
matrix:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/check-layer.yml

This file was deleted.

0 comments on commit 468e42e

Please sign in to comment.