Skip to content

Commit

Permalink
.github/sparse-zephyr: docker pull in a separate step
Browse files Browse the repository at this point in the history
This saves a lot of scrolling in the next, most popular build step.

Missed in previous commit 52223eb (".github/zephyr: docker pull in
a separate step")

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and kv2019i committed Jan 4, 2023
1 parent d8c2a42 commit 0658767
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sparse-zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
run: pip3 install west && cd workspace/sof/ && west init -l &&
west update --narrow --fetch-opt=--depth=5

# Not strictly necessary but saves a lot of scrolling in the next step
# TODO, research caching:
# https://stackoverflow.com/questions/66421411/how-to-run-cached-docker-image-in-github-action
- name: docker pull zephyrproject-rtos/zephyr-build
run: docker pull ghcr.io/zephyrproject-rtos/zephyr-build:latest

# We have to painfully extract REAL_CC from the docker image to
# tell the Zephyr build what it... already knows and wants!! Zephyr
# commit 3ebb18b8826 explains this sparse problem.
Expand Down

0 comments on commit 0658767

Please sign in to comment.