Compare commits

..

23 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

View File

@ -6,7 +6,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: ghcr.io/bcdevices/zephyr:latest image: zmkfirmware/zmk-build-arm:stable
name: Build name: Build
steps: steps:
- name: Install Dependencies - name: Install Dependencies
@ -14,15 +14,18 @@ jobs:
apt-get update; apt-get update;
apt-get install --yes --no-install-recommends \ apt-get install --yes --no-install-recommends \
nodejs \ nodejs \
zstd zstd \
zip
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Hash west module - name: Hash west modules
id: hash-west id: hash-west
run: | run: |
HASH=$(sha256sum zephyr/west.yml | head -c 64) 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 "hash=$HASH" >> "$GITHUB_OUTPUT"
echo "computed hash: $HASH" echo "computed hash: $HASH"
@ -74,15 +77,17 @@ jobs:
- name: Zip Artifacts - name: Zip Artifacts
run: zip firmware.zip corne_left_nice_nano_v2.uf2 corne_right_nice_nano_v2.uf2 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 - name: Upload Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
path: firmware.zip path: firmware.zip
name: firmware.zip name: firmware.zip
- name: Hash west module
id: hash-west
run: |
HASH=$(sha256sum zephyr/west.yml | head -c 64)
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
echo "computed hash: $HASH"