Commit Graph

6 Commits

Author SHA1 Message Date
Marc Herbert a3045b83a6 .github: fallback on rebuild-testbench -j 1 when failing
Parallel builds are fast but they bury errors, for instance good luck
finding the cause of this failure:
 https://github.com/thesofproject/sof/actions/runs/7667629748/job/20897861756?pr=8019

Use the well known technique of falling back on a single thread when
failing.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-01-30 19:46:35 +02:00
Marc Herbert 46eb79eb45 .github: use new checkout v4 option "filter: tree:0"
This saves time without affecting git describe like fetch depth does.

Also cancel fetch depth when building the firmware.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-01-29 16:45:19 +02:00
Marc Herbert da2b026c76 .github: upgrade all checkout actions, v3 -> v4
Fixes the new mass warnings:

Node.js 16 actions are deprecated. Please update the following
actions to use Node.js 20: actions/checkout@v3. For more information
see:
https://github.blog/changelog/
   2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

We've used checkout v4 in other places and everything worked fine.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-01-29 16:45:19 +02:00
Marc Herbert 22ab28881b .github: make all workflows callable and dispatchable
Because why shouldn't they be.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-12-18 15:48:21 +02:00
Marc Herbert 65a68b7c31 .github: upgrade all checkout actions to v3
Search and replace checkout@v2 with checkout@v3.

This finally gets rid of all warnings "Node.js 12 actions are
deprecated".

We've been using v3 in a few other places and never met any backwards
compatibility issue.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-05-04 16:46:43 +03:00
Marc Herbert de90f55657 .github: extract standalone testbench.yml from Main Actions
Divide and Conquer.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2022-10-24 12:20:11 +01:00