Skip to content

Commit d9d5fb9

Browse files
committed
Trying to fix cache
1 parent 1faf47e commit d9d5fb9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171

7272
- name: Verify Zephyr setup (from cache or fresh)
7373
run: |
74+
# Activate venv and check west
75+
source fprime-venv/bin/activate
7476
west --version
7577
echo "Workspace modules:"
7678
west list | wc -l
@@ -83,6 +85,7 @@ jobs:
8385
echo "Cache hit: ${{ steps.cache-zephyr.outputs.cache-hit }}"
8486
echo "Workspace size: $(du -sh lib/zephyr-workspace 2>/dev/null | cut -f1 || echo 'N/A')"
8587
echo "SDK size: $(du -sh ~/zephyr-sdk-0.17.2 2>/dev/null | cut -f1 || echo 'N/A')"
88+
echo "Modules count: $(find lib/zephyr-workspace/modules lib/zephyr-workspace/bootloader -name '.git' -type d 2>/dev/null | wc -l)"
8689
8790
- name: Build for PROVES Flight Control Board v5c
8891
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fprime-venv: ## Create a virtual environment
2424

2525
.PHONY: zephyr-setup
2626
zephyr-setup: fprime-venv ## Set up Zephyr environment (minimal RP2040/RP2350 only)
27-
@test -d ../lib/zephyr-workspace/modules/hal/rpi_pico || { \
27+
@test -d lib/zephyr-workspace/modules/hal/rpi_pico || test -d ../lib/zephyr-workspace/modules/hal/rpi_pico || { \
2828
echo "Setting up minimal Zephyr environment (RP2040/RP2350 only)..."; \
2929
echo " - Using minimal module set (~80% disk space reduction)"; \
3030
echo " - Installing ARM toolchain only (~92% SDK reduction)"; \

0 commit comments

Comments
 (0)