[CI] use zmkfirmware/zmk-build-arm:stable
Some checks failed
Build / Build (push) Failing after 3m56s
Some checks failed
Build / Build (push) Failing after 3m56s
This commit is contained in:
parent
3409345409
commit
f006a1180c
@ -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
|
||||||
@ -19,13 +19,6 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Link Directories
|
|
||||||
run: |
|
|
||||||
ln -s /usr/src/zephyr-3.4.0/modules modules
|
|
||||||
ln -s /usr/src/zephyr-3.4.0/tools tools
|
|
||||||
ln -s /usr/src/zephyr-3.4.0/zephyr zephyr
|
|
||||||
ln -s /usr/src/zephyr-3.4.0/bootloader bootloader
|
|
||||||
|
|
||||||
- name: Hash west modules
|
- name: Hash west modules
|
||||||
id: hash-west
|
id: hash-west
|
||||||
run: |
|
run: |
|
||||||
@ -88,3 +81,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: firmware.zip
|
path: firmware.zip
|
||||||
name: firmware.zip
|
name: firmware.zip
|
||||||
|
|
||||||
|
- 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"
|
Loading…
Reference in New Issue
Block a user