Commit graph

108 commits

Author SHA1 Message Date
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
Pete Johanson
39490552f2 feat(boards): Add BDN9 Rev2 board.
* Onboard stm32f072.
* 3 possible encoder positions.
* Underglow/per-key not yet support.
2020-12-31 14:46:15 -05:00
Pete Johanson
9a9f155e69 feature(ci): Build split w/ display enabled for testing. 2020-12-28 14:51:43 -05:00
Okke Formsma
f865779d5c ci(build): ignore failing upload-artifacts step
Build steps are often failing with "ECONNRESET" errors due to
rate-limiting by github. We usually don't need/care about the
artifacts, so don't have to fail the build when the upload fails.

related to #502 and #actions/upload-artifact/issues/116
2020-12-21 15:55:50 -05:00
innovaker
78acd7610e ci: improve step names
Improves readability and informativeness.

PR: #515
2020-12-17 16:44:11 -05:00
KemoNine
565a72bf95 feat(shields): add tidbit and tidbit_19key shields 2020-12-17 10:57:06 +00:00
innovaker
f3502dbcb5 ci: remove unnecessary comments 2020-12-14 22:56:29 -05:00
innovaker
a57989b1ef ci(docs-checks): remove prettier name
Aligns with other jobs/workflows.  It isn't necessary.

PR: #501
2020-12-14 22:55:43 -05:00
innovaker
6fa0f8f060 ci: remove zephyr.base-prefer configfile
CI builds successfully without this step.

PR: #498
2020-12-14 22:54:55 -05:00
innovaker
0515a482fe ci: upgrade to zmk-build-arm:2.4
PR: #467
2020-12-14 12:41:25 -05:00
innovaker
a4652fa25d ci: add 4- prefix to cache keys for v2.4.0 upgrade
A hack to invalidate GitHub actions/cache in CI builds/tests for the v2.4.0 upgrade.

PR: #467
2020-12-14 12:41:25 -05:00
innovaker
bd4b05f83a ci(build): remove artifact uf2 suffix
The archive now contains hex and uf2 files so the uf2 suffix is no longer accurate.  It probably should've been removed as part of the earlier hex commit.

See: 97d045e7ef
PR: #496
2020-12-10 16:03:56 -05:00
innovaker
f9e74110ab ci: migrate workflows to zmk-docker
Leverages the new zmk-build-arm Docker image published by the zmk-docker project.  Reduces build times, enhances DevOps capabilities, and tightly couples CI build container with the dev container.

PR: #481
2020-12-10 14:01:59 -05:00
innovaker
97d045e7ef ci(build): add zmk.hex to archive
This facilitates users who can't utilize the uf2 artifact.

PR: #485
2020-12-08 00:51:23 -05:00
innovaker
7ca90540ae ci(build): refactor archiving to support multiple paths
Allows multiple files to be stored in a single archive.

PR: #485
2020-12-08 00:51:23 -05:00
innovaker
b26ceebd4c ci(build): add missing boards
PR: #478
2020-12-08 00:49:17 -05:00
ReFil
b0c525df72
feat(shields): add CRBN shield
Co-authored-by: innovaker <66737976+innovaker@users.noreply.github.com>
PR: #483
2020-12-07 16:49:37 +00:00
innovaker
5122af6111 ci(build): add missing pro-micro compatible shields
These should've been added in previous PRs.

PR: #473
2020-12-06 22:50:29 -05:00
innovaker
8ad4f4133d ci(build): add support for board-only builds
Lays the groundwork for CI building boards that don't require shields.

PR: #464
2020-12-06 22:49:35 -05:00
innovaker
54cbc07e6e ci(build): remove proton_c guard from uf2 archive step
Guards conditions aren't strictly required because the build only logs a warning if the file doesn't exist.  It still completes successfully.

PR: #463
2020-12-03 21:10:05 -05:00
innovaker
42cdb83823 ci(build): sort boards and shields alphabetically
Lays the groundwork for further improvements.

PR: #458
2020-12-03 21:07:06 -05:00
innovaker
94f058bc90 ci(build): replace board matrix array with list
A multi-line list can be more merge friendly than a single-line array.

PR: #457
2020-12-02 16:00:18 -05:00
innovaker
fe010c7b6d refactor(workflows): add 3- prefix to cache keys
A hack to invalidate GitHub actions/cache in CI builds/tests.

Activates benefits of 90123caa4c.

Should be reverted after 2 weeks.

PR: #442
2020-12-01 00:32:02 -05:00
innovaker
7babe7f185 refactor(workflows): align GitHub workflow conventions
Cosmetic pass at aligning the conventions used in ZMK's workflows with GitHub's examples.  Based on examples found at:
https://github.com/actions/starter-workflows

PR #433
2020-11-28 17:00:37 -05:00
innovaker
e6d863c610 build(workflows): add each workflow to its own trigger conditions
For each workflow, add its path to its own trigger conditions so that it automatically re-triggers for testing purposes whenever it is changed.

PR: #443
2020-11-28 16:59:38 -05:00
innovaker
27d036b9d5 refactor(workflows): remove 2- prefix from cache keys
Removes obsolete cache invalidation hack.

Ref: 064323b667
PR: #434
2020-11-28 00:03:33 -05:00
Okke Formsma
c067629c83 Create west test command to run zmk testsuite. 2020-11-21 14:47:01 -05:00
krikun98
f60439802d Jian shield 2020-11-17 16:23:39 +00:00
krikun98
3d030ec2ab Jorne shield 2020-11-17 16:23:39 +00:00
Pete Johanson
698c27ba3b feat(ci): Only build firmware when app/ changes. 2020-11-03 15:08:04 -05:00