Less/Rikki
3eaa727238
Merge c49ee06d2b
into 0f972f1cc3
2024-09-02 21:28:20 +02:00
Peter Johanson
fb67e4603a
feat: Add studio core coverage targets.
...
* Cover stm32, RP2040, and nRF52 builds.
2024-08-15 11:45:18 -06:00
Peter Johanson
fb3af5327e
fix: Fix hardware metadata validation after image changes.
...
* Newer Docker image requires --break-system-packages for pip.
2024-08-13 07:38:11 -07:00
honorless
c49ee06d2b
ci: fail slowly
...
Instead of cancelling all test/build jobs in the matrix if one fails,
allow remaining jobs to continue.
This lowers the impact of transient errors on CI and provides more
complete testing feedback on submissions.
2024-07-05 16:16:29 -04:00
honorless
9c6d1af102
ci(build): limit run scope
...
* Cancel redundant non-nightly runs and jobs dependent on canceled jobs.
* Limit scheduled runs to zmkfirmware-owned repos.
2024-06-24 13:41:03 -06:00
honorless
7c9477be6e
ci(build): improve security posture
...
* Limit unnecessary permissions.
* Avoid storing credentials.
2024-06-24 13:41:03 -06:00
honorless
0bea7832e9
ci(build): amend changed-files invocation
2024-06-24 13:41:03 -06:00
dependabot[bot]
8f5c7bbfd4
chore(deps): bump pre-commit/action from 3.0.0 to 3.0.1
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 14:07:13 -07:00
Peter Johanson
94c3b9a246
feat(build): Allow specifying snippets for a build.
...
* Allow using snippets https://docs.zephyrproject.org/latest/build/snippets/using.html
for user builds in a `snippets` array properly.
2024-03-24 18:44:54 -07:00
Peter Johanson
c7fb418e88
fix(build): Used a fixed temp dir for caching.
...
* Improve GHA caching by using a fixed temporary directory
when using one.
2024-02-14 14:08:22 -08:00
Peter Johanson
b3f1d769f0
fix(bt): Fixes for BLE test BSIM bits.
2024-02-09 14:32:46 -08:00
Peter Johanson
94aa7d8d53
chore(ci): Bump to 3.5 Docker images.
2024-02-09 14:32:46 -08:00
Cem Aksoylar
0755b7a64c
fix(ci): Update upload-artifact with merge step
2024-01-29 16:44:39 -08:00
Pete Johanson
275c0ce271
Revert "fix(ci): Update one lingering upload-artifacts action."
2024-01-26 00:46:00 -08:00
Peter Johanson
3c14c7c112
fix(ci): Update one lingering upload-artifacts action.
2024-01-26 00:40:05 -08:00
Peter Johanson
789c11629e
fix(ci): Bump setup-python version.
2024-01-26 00:26:46 -08:00
Peter Johanson
72d5c01e46
fix(ci): Move to maintained get-changed files.
2024-01-26 00:26:46 -08:00
Peter Johanson
1f8b45d57d
fix(ci): Updated actions to move away Node 16.
2024-01-26 00:26:46 -08:00
Peter Johanson
1a3529a3e6
fix(ci): Use proper variable expression.
2024-01-25 13:20:25 -08:00
Peter Johanson
0890aaeaff
chore: Run tests if any includes change.
2024-01-14 16:19:30 -08:00
Peter Johanson
50e473276f
chore(ci): Split build and upload into separate steps
...
* Treat build and upload as distinct steps during a build, and don't fail
a PR if only the upload portion fails.
2024-01-14 10:42:04 -08:00
Peter Johanson
f4f402fa44
fix(ci): Use unique artifact for test logs
...
* To address conflicts with identically named artifact uploads, include the
test name in the artifact name.
2023-12-15 13:23:51 -08:00
Peter Johanson
52ed49b4bb
fix(ci): Upgrade to github-script@v7
...
* Also adjust form @actions/upload API changes.
2023-12-13 11:48:28 -08:00
Peter Johanson
96f9031951
fix(build): Only copy if zephyr module detected
...
* To fix issues with breakage with existing user config
repos, only do our copy strategy if we detect a zephyr module
present in the repo as well.
2023-12-08 10:49:27 -08:00
Peter Johanson
3656ec63d0
feat(build): Build unified config/mod repos.
...
* Detect in our build script if our config repo is *also* a Zephyr
module and if so pass to ZMK build in ZMK_EXTRA_MODULES
define.
* Copy config directory contents to new independent temp workspace
to avoid Kconfig conflicts between the build repo's zephyr module
directory and the checkout zephyr pulled in by `west update`.
2023-12-06 09:36:37 -08:00
Peter Johanson
693530c2f1
feat(bluetooth): Initial nRF52 BSIM based test support.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
2023-12-02 17:11:45 -08:00
Cem Aksoylar
a3f30ee799
feat(build): Add support for artifact-name in build.yaml, correctly
2023-11-23 21:09:14 -08:00
Pete Johanson
afe65ead9c
Revert "feat(build): Add support for artifact-name in build.yaml"
...
This reverts commit c1bf35ce1d
.
2023-11-13 13:51:08 -08:00
Cem Aksoylar
c1bf35ce1d
feat(build): Add support for artifact-name in build.yaml
2023-11-13 12:27:05 -08:00
Joel Spadin
3b1d04372b
feat: Print Kconfig and DTS for failed builds
...
Added the combined devicetree file to the user config build action. Set
it and the Kconfig output to run even on a failed build.
2023-10-17 15:35:44 -07:00
Albert Y
b1ca9199de
fix(ci): Refactor prepare variable step
...
* Refactor workflow variables
* Use quotes to avoid word splitting
2023-05-17 00:42:57 -04:00
Joel Spadin
32ae776c42
refactor: Add more checks to pre-commit
...
Updated existing pre-commit hooks and added some new hooks:
- Remove trailing whitespace
- Ensure every non-empty file ends with a new line
- Check YAML file validity
- Prevent adding large files
- Ensure any scripts with shebangs are executable
Added a GitHub action to run pre-commit on every commit. Removed any
existing actions which duplicate pre-commit.
Ran pre-commit on the codebase.
2023-04-24 16:07:04 -07:00
Peter Johanson
4ff1a4d3ea
refactor: Move to updated Docker images.
2023-04-05 22:55:38 -07:00
Peter Johanson
b7b563a4c3
fix(ci): Fix another spot where ` needs escaping.
2023-01-05 12:47:11 -06:00
Peter Johanson
5b9b507de3
fix(ci): Escape ` from JSON metadata files.
2023-01-04 21:40:07 -06:00
Albert Y
1e98ea0afb
fix(ci): Refactor west build step
2022-11-10 22:12:01 -06:00
dependabot[bot]
f59da74a3e
chore(deps): bump actions/checkout from 2 to 3.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 22:49:54 -05:00
Albert Y
b90e3ae03d
fix(ci): Replace workflow set-output with environment variables
...
* Needed for deprecation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-22 00:50:44 -04:00
Nick Winans
3d3c45bc80
feature(shields): Add nice!view
...
* Use two shield system, nice_view, and nice_view_adapter
* Build system fixes for interconnect use.
2022-09-29 21:11:26 -04:00
innovaker
0b39bf4336
ci: remove 4-
prefix from zephyr-modules cache keys
...
This is no longer required.
2022-09-28 04:08:43 +01:00
Albert Y
2e89ca036f
Set verbose output, simplify grep command, keep if statement consistent
2022-05-18 01:24:28 -04:00
Albert Y
d72a7e05aa
Add support for custom artifact name
2022-05-18 01:24:28 -04:00
dependabot[bot]
9e39585f85
chore(deps): bump actions/cache from 3.0.1 to 3.0.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-18 01:21:45 -04:00
Peter Johanson
aa3773fb93
fix(build): Use continue-on-error
for cache.
...
* Switch to attempting caching, but with
`continue-on-error` so we don't fail builds
while waiting on GH Actions fix.
2022-04-29 16:31:26 +00:00
Peter Johanson
16ffc7aca6
fix(build): Temporarily disable user build caching
...
* GH Actions errors, disabling caching of west
modules for now.
2022-04-29 15:19:47 +00:00
Adrian
3ff8014cf2
ci: sort build configuration output
...
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
2022-04-18 23:34:50 -04:00
Adrian
142d518734
ci: make cache hash independent of input parameter
2022-04-18 23:34:50 -04:00
elagil
b7771fbdd2
ci: updated for Zephyr 3.0, cache invalidation
2022-04-18 23:34:50 -04:00
elagil
e676c79929
fix(ci): generalize path to west.yml
2022-04-18 23:34:50 -04:00
elagil
0f70f40054
style(ci): add empty lines for readability
2022-04-18 23:34:50 -04:00