zephyr/.github/workflows
Anas Nashif 5c24fcb4ae actions: run twister using github action
This action replaces current buildkite workflow and uses github actions
to build and run tests in the zephyr tree using twister. The main
differences to current builtkite workflow:

- the action handles all 3 events: pull requests, push and schedule

- the action determines size of matrix (number of build hosts) based on
  the change with a minimum of 1 builder. If more tests are built/run
  due to changes to boards or tests/samples, the matrix size is
  increased. This will avoid timeouts when running over capacity due to
  board/test changes.

- We use ccache and store cache files on amazon S3 for more flexibility

- Results are collected per build host and merged in the final step and
  failures are posted into github action check runs.

- It runs on more powerful instances that can handle more load.
  Currently we have 10 build hosts per run (that can increase depending
  on number of tests run) and can deliver results within 1 hour.

- the action can deal with non code changes and will not allocate more
  than required to deal with changes to documentation and other files
  that do not require running twister

The goal long-term is better integrate this workflow with other actions
and not run unncessarily if other workflows have failed, for example, if
commit message is bogus, we should stop at that check, to avoid wasting
resources given that the commit message will have to be fixed anyways
which would later trigger another run on the same code.

Currently there is 1 open issue with this action related to a github
workflow bug where the final results are not posted to the same workflow
and might appear under other workflows. Github is working on this bug.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-11-23 06:42:23 -05:00
..
backport.yml workflows: backport: Switch to using main 2021-05-31 15:40:33 -04:00
bluetooth.yaml actions: retry west update on various workflows 2021-11-16 16:23:43 -05:00
clang.yaml actions: clang: set reporting before calling twister 2021-11-16 16:23:43 -05:00
codecov.yaml actions: run code coverage only on main tree 2021-11-16 06:48:20 -05:00
coding_guidelines.yml actions: guidelines: rebase tree 2021-05-03 17:11:12 -04:00
compliance.yml actions: retry west update on various workflows 2021-11-16 16:23:43 -05:00
conflict.yml actions: conflict: update version 2021-11-15 15:07:07 -06:00
daily_test_version.yml CI: only release to AWS in the Zephyr repository 2020-11-25 08:53:49 -06:00
devicetree_checks.yml actions: exclude Python 3.6 tests on macos-latest 2021-10-05 19:37:02 -04:00
doc-build.yml doc: west 0.12 docs 2021-11-04 19:30:42 -04:00
doc-publish.yml ci: doc-publish: specify artifacts run_id 2021-11-09 14:50:27 -05:00
errno.yml ci: Bump to use SDK 0.13.1 2021-09-21 13:03:02 -04:00
footprint-tracking.yml actions: retry west update on various workflows 2021-11-16 16:23:43 -05:00
footprint.yml actions: retry west update on various workflows 2021-11-16 16:23:43 -05:00
issue_count.yml actions: limit issue tracker to main project 2021-04-13 17:39:39 -04:00
issues-report-config.json actions: fix issue tracker configuration 2020-12-15 22:19:37 -05:00
labeler.yml actions: use descriptive job names 2020-12-15 14:47:26 -05:00
license_check.yml
manifest.yml .github: update action-manifest SHA 2021-08-31 22:16:58 -04:00
release.yml ci: add action to create release 2021-02-03 09:55:18 -06:00
stale_issue.yml .github: exempt the 'Process' label from stale issues 2021-11-19 15:51:56 -06:00
twister_tests.yml actions: Fix typo in twister action name 2021-01-29 14:22:25 -05:00
twister.yaml actions: run twister using github action 2021-11-23 06:42:23 -05:00
west_cmds.yml actions: exclude Python 3.6 tests on macos-latest 2021-10-05 19:37:02 -04:00