[CI] don't use bcdevices/zepyyr
Some checks failed
Build / Build (push) Failing after 9s

This commit is contained in:
Marius Alwan Meyer 2023-10-10 18:25:46 +02:00
parent 3409345409
commit c5a3cc2ef1

View File

@ -5,8 +5,6 @@ name: Build
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ghcr.io/bcdevices/zephyr:latest
name: Build name: Build
steps: steps:
- name: Install Dependencies - name: Install Dependencies
@ -19,13 +17,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 +79,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"