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
elagil
2c4ca7390b
feat(ci): Use input variables for configuring user build
2022-04-18 23:34:50 -04:00
Adrian
b1687eec2a
fix(ci): path to custom west.yml
...
Co-authored-by: Joel Spadin <joelspadin@gmail.com>
2022-04-18 23:34:50 -04:00
elagil
bbaa6af81b
feat(ci): introduce reusable user-config workflow
2022-04-18 23:34:50 -04:00
Peter Johanson
3eb3548a00
refactor(tests): Use GH Actions matrix for tests.
...
* To parallelize our tests, generate a dynamic matrix
of tests to run.
2022-04-04 23:36:51 -04:00
Peter Johanson
35db784b5d
fix: Change detection fixes for interconnect files.
2022-04-03 00:10:29 -04:00
Peter Johanson
94ac100b6b
refactor: Move to Zephyr v3.0.0 + ZMK fixes.
2022-04-03 00:10:29 -04:00
Nick Winans
edbbbc7540
feat(ci): Use metadata for builds
...
* Build per board
* Nightly builds of all boards
* Detect board changes and build those changed
* Core set of boards/shields built otherwise.
2022-02-03 00:15:50 -05:00
Peter Johanson
f438fb87d8
chore: Add a few more items to PR template.
...
* Kconfig.defconfig conditional correctness.
* Keyboard availability.
2021-12-13 22:40:17 -05:00
dependabot[bot]
944f931704
chore(deps): bump DoozyX/clang-format-lint-action from 0.12 to 0.13
...
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action ) from 0.12 to 0.13.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases )
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.12...v0.13 )
---
updated-dependencies:
- dependency-name: DoozyX/clang-format-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-04 22:47:15 -04:00
Peter Johanson
5cc7c280a5
refactor: Move to explicit docker.io/* image references.
...
* Some runtimes (e.g. podman), require explicit registries in image URLs
or will prompt for the user to select one, which breaks things like
VSCode remote container rebuilds.
2021-10-23 15:33:42 -04:00
Dom H
e11477f7b1
chore: Add note about copyrights on PR checklist
2021-10-12 22:27:33 -04:00
Nick Winans
19a7d686fb
chore: Add board/shield checklist for new PRs.
2021-10-03 23:29:59 -04:00
Peter Johanson
c7e513634d
feat(metadata): Add YAML check/format npm scripts.
2021-09-11 00:50:36 -04:00
Peter Johanson
683991aa93
feat(docs): Type check the docs TSX components.
2021-09-11 00:50:36 -04:00
Peter Johanson
1d69bdda60
feat: Add hardware metadata schema.
...
* Initial hardware metadata JSON schema.
* GH Action to validate all schemas for boards/shields.
2021-09-11 00:50:36 -04:00
innovaker
5542c105ed
ci: bump zmk-build-arm
to 2.5
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Nick Winans
9c1319c4ff
feat(docs): Add nice!nano v2 to scripts, actions, and documentation
...
asdf
asdf
asdf
2021-07-15 18:52:28 -04:00
dependabot[bot]
fe36073a10
chore(deps): bump DoozyX/clang-format-lint-action from 0.11 to 0.12
...
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action ) from 0.11 to 0.12.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases )
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.11...v0.12 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-15 00:18:52 -04:00
dependabot[bot]
64a85b7a3f
chore(deps): bump DoozyX/clang-format-lint-action from v0.9 to v0.11
...
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action ) from v0.9 to v0.11.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases )
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.9...84b814a54950e27ac65a62069802df099405ef77 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-28 22:16:07 -05:00
innovaker
d9265fa470
ci: add dependabot
...
Checks (daily):
- github-actions
- npm (docs)
2021-01-07 00:29:48 -05:00
KingCoinless
5c11962d98
feat(shields): add helix shield
...
PR: #429
2021-01-05 18:56:47 +00:00
pbz
dcd665999a
feat(shields): add bfo9000 shield
...
PR: #472
2021-01-02 18:52:50 +00:00
Mango The Fourth
5752b4fbda
feat(shields): add eek shield
...
PR: #529
2021-01-01 14:33:19 +00:00