Skip to content

Commit

Permalink
ci: give fetch and build steps extra chances to fail
Browse files Browse the repository at this point in the history
Large builds may fail sporadically in downloads. Provide three
opportunities by running bitbake 3 times before failing.

First download (ignore errors),
then build (ignore errors),
finally build again and report success or failure.
  • Loading branch information
Josua-SR committed Oct 4, 2024
1 parent d170bdf commit f815cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ jobs:
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS CACHE_DIR"
echo "require conf/include/ci.conf" >> conf/local.conf
cat conf/local.conf
bitbake core-image-minimal imx-image-full imx-hailo-demo-image --runall=fetch
bitbake core-image-minimal imx-image-full imx-hailo-demo-image --runall=fetch -k
bitbake core-image-minimal imx-image-full imx-hailo-demo-image -k
bitbake core-image-minimal imx-image-full imx-hailo-demo-image
- name: Update cache on the server
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit f815cd2

Please sign in to comment.