Compare commits

...

90 Commits

Author SHA1 Message Date
698641a011 [CI] Hash before uploading
Some checks failed
Build / Build (push) Failing after 3m17s
2023-11-15 18:19:31 +00:00
d63021ee27 [ci] install zip dependency for new image
Some checks failed
Build / Build (push) Failing after 8m56s
2023-10-10 18:36:28 +02:00
f006a1180c [CI] use zmkfirmware/zmk-build-arm:stable
Some checks failed
Build / Build (push) Failing after 3m56s
2023-10-10 18:28:36 +02:00
3409345409 [CI] don't hash again
Some checks failed
Build / Build (push) Failing after 1m34s
2023-07-20 23:47:30 +00:00
1932db7ab7 [CI] don't cache zmk firmware source
Some checks failed
Build / Build (push) Failing after 1m41s
2023-07-20 23:46:34 +00:00
314bf1345d [CI] don't use existing west config and don't clone zmk manually
Some checks failed
Build / Build (push) Failing after 54s
2023-07-20 23:42:55 +00:00
ef9d647efc [CI] clone ZMK before hashing
Some checks failed
Build / Build (push) Failing after 40s
2023-07-20 23:28:05 +00:00
eb877446cf [CI] git clone via https
Some checks failed
Build / Build (push) Failing after 1m5s
2023-07-20 23:26:30 +00:00
d3c861a069 [CI] move things around
Some checks failed
Build / Build (push) Failing after 16s
2023-07-20 23:24:35 +00:00
ff1f770ec0 [CI] escape gnarly bash code
Some checks failed
Build / Build (push) Failing after 11s
2023-07-20 23:22:04 +00:00
e6e407b0ae [CI] clone ZMK
Some checks failed
Build / Build (push) Failing after 16s
2023-07-20 23:20:17 +00:00
c7e21c54b7 [CI] update later hash step
Some checks failed
Build / Build (push) Failing after 18s
2023-07-20 23:18:22 +00:00
5e9cf391c5 [CI] hash all build.yml and west.yml files 2023-07-20 23:16:17 +00:00
f0d9fe52e2 Revert "[CI] fix source path"
This reverts commit ef20c44a71.
2023-07-20 23:07:19 +00:00
ef20c44a71 [CI] fix source path
Some checks failed
Build / Build (push) Failing after 57s
2023-07-20 22:53:37 +00:00
d690c3f6a7 [CI] don't init West; don't look around anymore
Some checks failed
Build / Build (push) Failing after 1m22s
2023-07-20 22:49:40 +00:00
1d297244c9 [CI] link .west as well
Some checks failed
Build / Build (push) Failing after 14s
2023-07-20 22:46:42 +00:00
d07582b181 [CI debug] more looking around
Some checks reported warnings
Build / Build (push) Has been cancelled
2023-07-20 22:39:31 +00:00
8485c34856 [CI debug] look around
Some checks reported warnings
Build / Build (push) Has been cancelled
2023-07-20 22:38:29 +00:00
b6c58277a1 [CI] more verbose hashing
Some checks failed
Build / Build (push) Failing after 54s
2023-07-20 22:35:11 +00:00
7c6e41f899 Revert "[CI] don't init west"
Some checks failed
Build / Build (push) Failing after 57s
This reverts commit 389502e317.
2023-07-20 22:29:48 +00:00
e05bc8e600 [CI] link zephyr sources into working directory
Some checks failed
Build / Build (push) Failing after 36s
2023-07-20 22:27:41 +00:00
389502e317 [CI] don't init west
Some checks failed
Build / Build (push) Failing after 1m20s
2023-07-20 22:17:37 +00:00
1589983a1e [CI] hash again at the end 2023-07-20 22:03:29 +00:00
e7f025a816 [CI] hash zephyr/west.yml for cache 2023-07-20 21:47:16 +00:00
a2e1f7b2ef Merge branch 'master' into gitea-actions 2023-07-20 21:09:36 +00:00
0177f28427 [CI] strip sha256 output
All checks were successful
Build / Build (push) Successful in 4m39s
2023-07-20 20:05:09 +00:00
85a6110662 [CI] output hash
All checks were successful
Build / Build (push) Successful in 11m52s
2023-07-20 20:00:11 +00:00
00a6aa0482 [CI] get rid of go dependency
All checks were successful
Build / Build (push) Successful in 8m25s
2023-07-20 19:57:06 +00:00
4b3d523f8d [CI] set a reasonable cache timeout
All checks were successful
Build / Build (push) Successful in 4m31s
2023-07-20 16:26:41 +00:00
f7dc7174e6 [CI] increase cache timeout
All checks were successful
Build / Build (push) Successful in 8m3s
2023-07-20 14:51:32 +00:00
71d0d5b92f [CI] install zstd for cache compression
All checks were successful
Build / Build (push) Successful in 10m24s
2023-07-20 14:43:11 +00:00
6693b70405 [CI] don't ignore missing artifact files
All checks were successful
Build / Build (push) Successful in 11m17s
2023-07-20 09:31:48 +00:00
2b39c6fec7 [CI] try globbing for west.yml
All checks were successful
Build / Build (push) Successful in 16m38s
2023-07-19 18:20:57 +00:00
64fa7e3bcb [CI] install go
All checks were successful
Build / Build (push) Successful in 16m40s
2023-07-19 17:59:01 +02:00
2cd9d3031f [CI] replace 'hashFiles' with actions/go-hashfiles
Some checks failed
Build / Build (push) Failing after 20s
2023-07-19 17:56:15 +02:00
d6afe8ca16 Revert "[CI] praying again"
This reverts commit dbc707eca2.
2023-07-19 17:42:32 +02:00
dbc707eca2 [CI] praying again
All checks were successful
Build / Build (push) Successful in 6m19s
2023-07-19 17:39:22 +02:00
4c1391fd18 Revert "[CI] simplify cache step"
This reverts commit e17b5743ec.
2023-07-19 17:38:47 +02:00
e17b5743ec [CI] simplify cache step
All checks were successful
Build / Build (push) Successful in 6m30s
2023-07-19 17:24:10 +02:00
b981cbcf1e Revert "[CI] don't zip artifacts"
All checks were successful
Build / Build (push) Successful in 6m0s
This reverts commit 801353c249.
2023-07-19 17:13:34 +02:00
28757d7b26 [CI] cache west modules
All checks were successful
Build / Build (push) Successful in 5m59s
2023-07-19 17:06:53 +02:00
0e11f06ca7 Revert "[CI] Don't update west"
Some checks reported warnings
Build / Build (push) Has been cancelled
This reverts commit fb2124d0ed.
2023-07-19 17:04:33 +02:00
801353c249 [CI] don't zip artifacts
Some checks failed
Build / Build (push) Failing after 25s
2023-07-19 16:55:41 +02:00
fb2124d0ed [CI] Don't update west
Some checks failed
Build / Build (push) Failing after 21s
2023-07-19 16:54:15 +02:00
afa8c476bb [CI] name the artifact file
All checks were successful
Build / Build (push) Successful in 6m1s
2023-07-19 16:53:49 +02:00
e2f294d402 [CI] Use 3rd party image for the build and remove test action
All checks were successful
Build / Build (push) Successful in 5m39s
2023-07-19 16:43:44 +02:00
43da84896d [CI] Try a 3rd party container
Some checks reported warnings
Build / Build (push) Has been cancelled
Test / Build (push) Successful in 17m37s
2023-07-18 16:29:40 +02:00
109326adc6 [CI] install nodejs
Some checks failed
Build / Build (push) Has been cancelled
Test / Build (push) Failing after 2m13s
2023-07-18 16:05:57 +02:00
783e6bf234 [CI] define artifact filename
Some checks failed
Build / Build (push) Has been cancelled
Test / Build (push) Failing after 54s
2023-07-18 16:04:44 +02:00
c521a712fc [CI] rely on integrated nodejs
Some checks failed
Test / Build (push) Failing after 29s
Build / Build (push) Has been cancelled
2023-07-18 16:03:57 +02:00
f956e1d053 [CI] try one more tag
Some checks failed
Build / Build (push) Has been cancelled
Test / Build (push) Failing after 3m9s
2023-07-18 15:56:10 +02:00
9f17a83561 [CI] Try with zmk-build-arm:3.2 container
Some checks failed
Build / Build (push) Has been cancelled
Test / Build (push) Failing after 1m46s
2023-07-18 15:51:55 +02:00
600c3d1fed [CI] Test with the QMK Container
Some checks reported warnings
Build / Build (push) Has been cancelled
Test / Build (push) Successful in 16s
2023-07-18 15:50:06 +02:00
990395c44f [CI] cleanup 2023-07-18 15:49:13 +02:00
812284df38 [CI] Test in a more controlled setting
Some checks failed
Build / Build (push) Has been cancelled
Test / Build (push) Failing after 1m51s
2023-07-18 15:42:31 +02:00
8062f0ac6c [CI] Zip files before uploading; instatll openssl and ca-ertificates
Some checks failed
Build / Build (push) Failing after 7m18s
2023-07-18 15:39:47 +02:00
fc3b06d87f [CI] Don't zip the files before uploading
Some checks failed
Build / Build (push) Failing after 7m17s
2023-07-17 18:13:50 +02:00
dcf545b708 [CI] don't setup nodejs
Some checks failed
Build / Build (push) Failing after 7m0s
2023-07-17 17:54:05 +02:00
65e05d5015 [CI] hope..
Some checks failed
Build / Build (push) Failing after 8m4s
2023-07-17 17:34:22 +02:00
750ea8ae94 [CI] disable caching
Some checks failed
Build / Build (push) Failing after 7m53s
2023-07-17 17:14:49 +02:00
734f8d9afd [CI] enable debugging
Some checks failed
Build / Build (push) Failing after 51s
2023-07-17 17:11:24 +02:00
82eaf0cc1c [CI] downgrade cache action
Some checks failed
Build / Build (push) Failing after 7m48s
2023-07-17 16:25:48 +02:00
80708ca955 [CI] cache west modules
Some checks failed
Build / Build (push) Failing after 1m8s
2023-07-17 16:10:26 +02:00
e70264c449 [CI] use apt-get instead of aptt
Some checks failed
Build / Build (push) Failing after 8m0s
2023-07-17 12:26:05 +02:00
67540297f7 [CI] Upload Artifacts
Some checks failed
Build / Build (push) Failing after 8m25s
2023-07-17 12:23:59 +02:00
89a3ea2037 try gitea's upload-artifact action again
Some checks failed
Build / Build (push) Failing after 8m47s
2023-04-28 21:04:31 +00:00
5ee21eddc2 make modifier keys not sticky & remove gaming layer
All checks were successful
Build / Build (push) Successful in 6m23s
2023-04-24 17:31:26 +00:00
ed1fe675be make modifiers on neo_layer_4 transparent
Some checks failed
Build / Build (push) Has been cancelled
2023-04-24 13:27:05 +02:00
c4d86dd4c3 swap layer keys
All checks were successful
Build
2023-04-18 22:50:04 +00:00
2a0acd464a lower release-after-ms default for sticky layers
All checks were successful
Build
2023-04-18 22:48:17 +00:00
279cda4b34 set keyboard name
All checks were successful
Build
2023-04-18 11:01:22 +00:00
f2c206409c double CONFIG_ZMK_IDLE_SLEEP_TIMEOUT 2023-04-18 11:00:17 +00:00
07fdcf7360 undo 7d7f6cd. back to LC(BSPC)
All checks were successful
Build
2023-04-17 20:09:28 +00:00
15cc4a2a37 moving things around
All checks were successful
Build
2023-04-17 20:06:22 +00:00
2c986df5a7 [CI/FIX] specify the source of actions on github
All checks were successful
Build
2023-04-14 13:12:08 +00:00
00140b3717 [CI/FIX] remove bad line
All checks were successful
Build
2023-04-14 13:08:16 +00:00
60555f0453 [CI] separate gitea and github workflows
All checks were successful
Build
2023-04-14 13:01:33 +00:00
0dee4e0958 make media keys one-handed
All checks were successful
Build
2023-04-12 15:18:04 +00:00
bf2f9fa012 remove file. wasn't working; don't need it 2023-04-12 15:10:28 +00:00
307c589496 make actions work with gitea (no artifacts for now) 2023-04-11 20:27:22 +00:00
17737eb285 control build matrix; also build the reset image 2023-04-09 23:33:52 +00:00
955249003c disable usb logging again 2023-04-09 23:20:21 +00:00
d1bf25a757 enable usb logging 2023-04-09 14:11:54 +00:00
2e3e23f822 [FIX] use correct shorthand modifier code 2023-04-09 13:50:54 +00:00
c47784422b shorter sticky layer 2023-04-09 13:42:06 +00:00
8132acba5e back to github for building 2023-04-09 13:37:31 +00:00
0a41baf5df try another token 2023-04-09 13:32:34 +00:00
b4842aaa16 use token for auth 2023-04-09 13:31:10 +00:00
7d7f6cd0b4 add ctrl+alt modifier 2023-04-09 12:33:13 +00:00
4 changed files with 124 additions and 25 deletions

View File

@ -0,0 +1,93 @@
on: [push, pull_request, workflow_dispatch]
name: Build
jobs:
build:
runs-on: ubuntu-latest
container:
image: zmkfirmware/zmk-build-arm:stable
name: Build
steps:
- name: Install Dependencies
run: |
apt-get update;
apt-get install --yes --no-install-recommends \
nodejs \
zstd \
zip
- name: Checkout
uses: actions/checkout@v3
- name: Hash west modules
id: hash-west
run: |
FILE_PATH=zephyr/west.yml
FILES=$(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort)
HASH="$(echo -n $FILES | sha256sum | head -c 64)"
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
echo "computed hash: $HASH"
- name: Cache west modules
uses: actions/cache@v3
env:
cache-name: cache-zephyr-modules
with:
path: |
modules/
tools/
zephyr/
bootloader/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ steps.hash-west.outputs.hash }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
timeout-minutes: 5
continue-on-error: true
- 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 (Corne Left)
run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Corne Left Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
- name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
- name: West Build (Corne Right)
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Corne Right Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
- name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
- name: Zip Artifacts
run: zip firmware.zip corne_left_nice_nano_v2.uf2 corne_right_nice_nano_v2.uf2
- name: Hash west modules
id: hash-west
run: |
FILE_PATH=zephyr/west.yml
FILES=$(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort)
HASH="$(echo -n $FILES | sha256sum | head -c 64)"
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
echo "computed hash: $HASH"
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
path: firmware.zip
name: firmware.zip

View File

@ -9,8 +9,12 @@ jobs:
image: zmkfirmware/zmk-build-arm:stable
name: Build
steps:
- name: Install Dependencies
run: apt update; apt install -y nodejs ssh
- name: Setup Node
uses: actions/setup-node@v3
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache west modules
uses: actions/cache@v2
env:
@ -33,6 +37,7 @@ jobs:
run: west update
- name: West Zephyr export
run: west zephyr-export
- name: West Build (Corne Left)
run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Corne Left Kconfig file
@ -40,19 +45,27 @@ jobs:
- name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
- name: Archive (Corne Left)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: firmware
path: corne_left_nice_nano_v2.uf2
- name: West Build (Corne Right)
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Corne Right Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
- name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
- name: Archive (Corne Right)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: firmware
path: corne_right_nice_nano_v2.uf2
- name: Upload artifacts as release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
corne_left_nice_nano_v2.uf2
corne_right_nice_nano_v2.uf2

View File

@ -5,8 +5,10 @@
# Uncomment the following line to enable the Corne OLED Display
# CONFIG_ZMK_DISPLAY=y
# Allow to sleep
# Allow to sleep
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_TIMEOUT=30000
# Sleep timeout to 15 minutes
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
CONFIG_ZMK_KEYBOARD_NAME="Daimon Scriptor"

View File

@ -10,7 +10,7 @@
#include <dt-bindings/zmk/outputs.h>
&sl {
release-after-ms = <2000>;
release-after-ms = <250>;
};
&sk {
@ -24,37 +24,28 @@
default_layer {
bindings = <
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&sk CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&sk LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo 1
&kp LGUI &sk LCTRL &kp SPACE &kp LC(BSPC) &sl 2 &sk LALT
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo 1
&kp LGUI &sl 2 &kp SPACE &kp LC(BSPC) &kp CAPS &kp LALT
>;
};
adjust_layer {
bindings = <
&kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &kp C_PREV &kp C_NEXT &kp C_PP &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &out OUT_BLE &out OUT_USB &none &none &none &none
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &tog 3 &none &none &none &none &kp PAUSE_BREAK
&trans &trans &none &none &trans &none
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR &none &none &none &none &kp C_PP &kp C_VOL_UP
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &out OUT_BLE &out OUT_USB &none &none &none &kp C_VOL_DN
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &none &none &none &none &kp C_MUTE &kp PAUSE_BREAK
&trans &trans &none &none &trans &none
>;
};
neo_layer_4 {
bindings = <
&none &kp PG_UP &kp BSPC &kp UP &kp DEL &kp PG_DN &none &kp N7 &kp N8 &kp N9 &none &none
&none &kp HOME &kp LEFT &kp DOWN &kp RIGHT &kp END &none &kp N4 &kp N5 &kp N6 &kp N0 &none
&trans &kp PG_UP &kp BSPC &kp UP &kp DEL &kp PG_DN &none &kp N7 &kp N8 &kp N9 &none &none
&trans &kp HOME &kp LEFT &kp DOWN &kp RIGHT &kp END &none &kp N4 &kp N5 &kp N6 &kp N0 &none
&trans &kp ESC &kp TAB &kp INSERT &kp ENTER &kp K_UNDO &kp N0 &kp N1 &kp N2 &kp N3 &none &none
&trans &trans &trans &trans &trans &trans
>;
};
gaming_layer {
bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &kp N7 &kp N8 &kp N9 &none &kp C_PP
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &none &kp N4 &kp N5 &kp N6 &kp N0 &kp C_VOL_UP
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N0 &kp N1 &kp N2 &kp N3 &none &kp C_VOL_DN
&kp LGUI &kp LCTRL &kp SPACE &tog 3 &kp ESC &none
>;
};
};
};