Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major improvements on CI and build level #141

Merged
merged 11 commits into from
Oct 12, 2023
Merged

Major improvements on CI and build level #141

merged 11 commits into from
Oct 12, 2023

Conversation

rexut
Copy link
Member

@rexut rexut commented Oct 12, 2023

  • Move from standard GitHub-hosted runner to the new self-hosted action runner on a bare metal multicore machine with large memory.
  • Both Git and West now only fetch sources from the repositories with a depth of 100 (--depth=100) for basic QA integration tests.
  • Results now:
    • Run integration tests for samples: up to 15 min (former about 30 min)
    • Run integration tests for shields: up to 15 min (former about 30 min)
    • Run integration tests on targets: up to 20 min (former about 60 min)
    • Common set and clean up times reduced down to a few seconds
  • Update to West from 1.2 to 1.3.
  • Document requirements of pymcuprog, pyserial, and pyocd.
  • Update support tier levels for Ubuntu/Linux systems.
  • Minor fixes and adaptations.

rexut added 11 commits October 12, 2023 05:52
This reverts commit e4a9870.

Signed-off-by: Stephan Linz <[email protected]>
- Protect all jobs by the original repository owner.
- Move from standard GitHub-hosted runner to the new self-hosted
  action runner on a bare metal multicore machine with large memory.
- Add container environment setup on workflow level: 4 cores, 8GB RAM.
- Both Git and West now only fetch sources from the repositories with
  a depth of 100 (--depth=100).
- Change to 'FraBle/clean-after-action@v1' for post workspace clean-up.
- Update to 'actions/checkout@v4' with node20.
- Reduce retry interval from 120 to 60 seconds for tests on targets.

Results now:

- Run integration tests for samples: up to 15 min
- Run integration tests for shields: up to 15 min
- Run integration tests on targets:  up to 20 min

Signed-off-by: Stephan Linz <[email protected]>
- west to 0.14, or later until ~1.2
- pyelftools to 0.30, or later
- pymcuprog to 3.14, or later
- pyserial to 3.5, or later
- pyocd to 0.36, or later

Python Serial Port Extension (pyserial) for Win32, OSX,
Linux, BSD, Jython, IronPython.

See more at: https://pythonhosted.org/pyserial
 or PyPi at: https://pypi.org/project/pyserial

Bridle use pyserial as a sidecar tool for serial console access.

pyOCD is an open source Python based and fully cross-platform
compatible tool for programming and debugging Arm Cortex-M
microcontrollers with a wide range of debug probes.

See more at: https://pyocd.io/
 or PyPi at: https://pypi.org/project/pyocd

Bridle use pyOCD as a sidecar tool for MCU programming and debugging.

Signed-off-by: Stephan Linz <[email protected]>
With the upgrade to West v1.3, some new Sphinx warnings
occur. For the time being, all new warnings will be ignored
until the reason will found and fixed.

Signed-off-by: Stephan Linz <[email protected]>
@github-actions
Copy link

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, many thanks

@rexut rexut merged commit 5029c30 into main Oct 12, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants