-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
38 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,5 @@ | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
name: Build | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: zmkfirmware/zmk-build-arm:2.4 | ||
name: Build | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Cache west modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-zephyr-modules | ||
with: | ||
path: | | ||
modules/ | ||
tools/ | ||
zephyr/ | ||
bootloader/ | ||
zmk/ | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('manifest-dir/west.yml') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: West Init | ||
run: west init -l config | ||
- name: West Update | ||
run: west update | ||
- name: West Zephyr export | ||
run: west zephyr-export | ||
- name: West Build (Reviung41) | ||
run: west build -s zmk/app -b nice_nano -- -DSHIELD=reviung41 -DZMK_CONFIG="${GITHUB_WORKSPACE}/config" | ||
- name: Reviung41 DTS File | ||
if: ${{ always() }} | ||
run: cat -n build/zephyr/nice_nano.dts.pre.tmp | ||
- name: Reviung41 Kconfig file | ||
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$" | ||
- name: Rename zmk.uf2 | ||
run: cp build/zephyr/zmk.uf2 reviung41_nice_nano.uf2 | ||
- name: Archive (Reviung41) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: firmware | ||
path: reviung41_nice_nano.uf2 | ||
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file generates the GitHub Actions matrix. | ||
# For simple board + shield combinations, add them to the top level board and | ||
# shield arrays, for more control, add individual board + shield combinations | ||
# to the `include` property. You can also use the `cmake-args` property to | ||
# pass flags to the build command and `artifact-name` to assign a name to | ||
# distinguish build outputs from each other: | ||
# | ||
# board: [ "nice_nano_v2" ] | ||
# shield: [ "corne_left", "corne_right" ] | ||
# include: | ||
# - board: bdn9_rev2 | ||
# - board: nice_nano_v2 | ||
# shield: reviung41 | ||
# - board: nice_nano_v2 | ||
# shield: corne_left | ||
# cmake-args: -DCONFIG_ZMK_USB_LOGGING=y | ||
# artifact-name: corne_left_with_logging | ||
# | ||
--- | ||
include: | ||
- board: corneish_zen_v1_left | ||
- board: corneish_zen_v1_right |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Go to sleep after one hour (1*60*60*1000ms) | ||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000 | ||
|
||
# Turn on logging, and set ZMK logging to debug output | ||
# CONFIG_ZMK_USB_LOGGING=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build: | ||
settings: | ||
board_root: . |