Commit Graph

156 Commits

Author SHA1 Message Date
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
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
Pete Johanson fe62929af8 feat(docs): Add eslint and prettier GH Actions. 2020-11-03 15:02:41 -05:00
Pete Johanson 73c83e81ce
Merge pull request #296 from neegool/add_boardsource3x4
Add Boardsource 3x4 shield
2020-10-27 23:24:10 -04:00
Jay Greco d90592aac5 Add NIBBLE shield
+ Added required files for nullbits NIBBLE
2020-10-27 12:44:59 -07:00
Nick 7296b96797 Add Reviung41 Shield Definitions 2020-10-24 21:08:00 -05:00
Nigel Rodriguez 6a9a6e6d8e Add Boardsource 3x4 shield 2020-10-24 12:21:15 +08:00
Pete Johanson 59a804f751 fix(actions): Upload UF2 for all compatible boards 2020-10-09 01:05:50 -04:00
Pete Johanson 694b24ca86 fix(ci): Lint detected changes to drivers dir. 2020-10-01 11:31:02 -04:00
Noah Thornton 7f7c7037b0 Add quefrency shield 2020-09-26 11:59:12 -07:00
Kristoffer Onias 551756b0ec Add romac_plus to build.yml 2020-09-21 22:52:50 -07:00
Pete Johanson 9b89ed7be4
Merge pull request #187 from kurtis-lew/main
Fixed Iris default build/Updated Dev Guide
2020-09-19 23:12:17 -04:00
kurtis-lew 98098dbe21 Updated build.yml to check default iris keymaps 2020-09-14 20:20:29 -07:00
Pete Johanson 296a89ce63 feat(ci): Run clang-format to check files. 2020-09-14 00:08:13 -04:00
Pete Johanson 652bb6ce05 feat(bluetooth): Add new settings_reset shield.
* Easy to build board/image that will clear
  saved profile/bond information for a fresh
  start for keyboards.
2020-09-13 22:33:31 -04:00
Pete Johanson 0559ec9013 fix(ci): Only run tests if app/{src,tests} changes 2020-09-04 23:58:31 -04:00
Pete Johanson d2f4f00f69 feat(test): Add GH Action for tests. 2020-08-29 21:57:04 -04:00
Richard Jones e5da5ea40d add romac to build 2020-08-26 21:31:46 +01:00
Nick dc1bb36639 fix(actions): continue build on failed west cache 2020-08-20 13:54:58 -05:00
Nick 8aae2231e2 fix(actions): timeout stuck cache west modules 2020-08-20 13:43:03 -05:00
Pete Johanson 506c3b031e refactor(boards): Rename to bluemicro840_v1. 2020-08-19 16:35:18 -04:00
Okke Formsma 93b1e0ac44 Add nrfmicro 1.1, 1.1 flipped and 1.3 boards. 2020-08-19 21:02:21 +02:00
Pete Johanson 064323b667 fix(build): Remove more unused west modules. 2020-08-17 22:49:15 -04:00
Pete Johanson 15405f351a Add BlueMicro52840 to build matrix. 2020-08-16 21:34:48 -04:00
Derek 0a23d98962 Update build.yml
Fails without splitreus62 shield and without itself added?
2020-08-15 17:09:44 -04:00
Derek c44693cd48 Update build.yml
Updated workflow to include new board and shield
2020-08-15 16:57:06 -04:00
Pete Johanson be57b10c56 Initial Corne shield definition.
* Also include a build for Clueboard California macropad.
2020-08-10 11:30:24 -04:00
Pete Johanson c3dd7b694d Initial Lily58 shield definition. 2020-07-16 23:41:55 -04:00
Pete Johanson 03ddcf0695 Properly name the build artifacts w/ shield name. 2020-06-30 12:24:26 -04:00
Pete Johanson 5ffd95694f Kyria left/right overlays, matrix transform fixes
* Refactor Kyria into separate left/right "revisions"
  of the Kyria shield, and include central
  kyria.dtsi file with common definition.
* Fixes for keymaps to work fully with matrix
  transforms that override effective rows/columns.
* Add ability for matrix transform to do row/col
  offsets, which is needed for split keyboards.
2020-06-27 00:16:15 -04:00
Pete Johanson f84a41de3e Only test w/ Kyria and handwire. 2020-06-26 11:38:58 -04:00
Pete Johanson 185f9be6ab Tweak to use a better set of shields for build. 2020-06-26 11:33:41 -04:00
Pete Johanson a087a466e9 Tweak the artifact name to include board. 2020-06-16 23:03:15 -04:00
Pete Johanson d1daf0de06 Fix the string literal. 2020-06-16 22:59:20 -04:00
Pete Johanson 33795b99ca Change the kernel bin name, upload built UF2. 2020-06-16 22:58:26 -04:00
Pete Johanson 05591ff37b Build matrix with nice_nano and proton_c boards. 2020-06-16 22:40:47 -04:00
Pete Johanson c4082bd31e Try to fix some quoting. 2020-06-12 17:00:14 -04:00
Pete Johanson 5defe0a771 One missing action reference. 2020-06-12 16:57:14 -04:00
Pete Johanson 2ce8961aba Switch to ARM only, use everywhere. 2020-06-12 16:54:23 -04:00
Pete Johanson 44ebcb8fa4 Try fixing args passed to container. 2020-06-12 16:48:06 -04:00
Pete Johanson 30f23fe5da Switch to Docker Hub version. 2020-06-12 16:21:10 -04:00
Pete Johanson ea36f2a93e Try logging into the registry first. 2020-06-12 11:26:32 -04:00
Pete Johanson 2aa932a943 Try quoting a few values. 2020-06-12 11:12:16 -04:00
Pete Johanson 9f650acbd0 Update one workflow step to use docker container. 2020-06-12 11:09:32 -04:00
Pete Johanson caf934792a Exclude some unused Zephyr west submodules.
* Don't waste space/time updating unused modules for architectures
  we aren't targetting (yet).
2020-06-12 09:47:21 -04:00
Pete Johanson af7f4e0892 Run builds on PRs too. 2020-06-12 09:47:10 -04:00
Pete Johanson bdfc8e7963 Name the whole workflow. 2020-06-08 22:48:25 -04:00
Pete Johanson f8f999ab1c Add status badge, rename basic build workflow. 2020-06-08 22:41:06 -04:00
Pete Johanson d568df7bc9 Move to published action for zephyr/west usage. 2020-06-08 21:53:48 -04:00
Pete Johanson bab95eab79 Fix for multiple paths. 2020-06-08 21:26:50 -04:00
Pete Johanson 06c985ccdd Initial caching work. 2020-06-08 21:23:34 -04:00