Commit graph

110 commits

Author SHA1 Message Date
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
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
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
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