@@ -23,51 +23,67 @@ jobs:
2323 submodules : false # We'll handle submodules with smart caching
2424 fetch-depth : 0
2525
26- - name : Cache submodules
27- id : cache-submodules
28- uses : actions/cache@v4
29- with :
30- path : |
31- lib/fprime
32- lib/fprime-zephyr
33- lib/zephyr-workspace/zephyr
34- key : project-deps-${{ hashFiles('.gitmodules') }}-v3
35- restore-keys : |
36- project-deps-${{ hashFiles('.gitmodules') }}-
37- project-deps-
26+ # - name: Cache bin
27+ # id: cache-bin
28+ # uses: actions/cache@v4
29+ # with:
30+ # path: |
31+ # bin
32+ # key: bin-${{ hashFiles('Makefile') }}-v3
33+ # restore-keys: |
34+ # bin-${{ hashFiles('Makefile') }}-
35+ # bin-
36+
37+ - name : Download bin tools
38+ if : steps.cache-bin.outputs.cache-hit != 'true'
39+ run : |
40+ make download-bin
41+
42+ # - name: Cache submodules
43+ # id: cache-submodules
44+ # uses: actions/cache@v4
45+ # with:
46+ # path: |
47+ # lib/fprime
48+ # lib/fprime-zephyr
49+ # lib/zephyr-workspace/zephyr
50+ # key: submodules-${{ hashFiles('.gitmodules') }}-v3
51+ # restore-keys: |
52+ # submodules-${{ hashFiles('.gitmodules') }}-
53+ # submodules-
3854
3955 - name : Setup submodules
4056 if : steps.cache-submodules.outputs.cache-hit != 'true'
4157 run : |
4258 make submodules
4359
44- - name : Cache python environment
45- id : cache-python
46- uses : actions/cache@v4
47- with :
48- path : fprime-venv
49- key : python-packages -${{ runner.os }}-${{ hashFiles('requirements.txt') }}-v3
50- restore-keys : |
51- python-packages -${{ runner.os }}-
52- python-packages -
60+ # - name: Cache python venv
61+ # id: cache-python
62+ # uses: actions/cache@v4
63+ # with:
64+ # path: fprime-venv
65+ # key: python-venv -${{ runner.os }}-${{ hashFiles('requirements.txt') }}-v3
66+ # restore-keys: |
67+ # python-venv -${{ runner.os }}-
68+ # python-venv -
5369
54- - name : Setup python environment
70+ - name : Setup python venv
5571 if : steps.cache-python.outputs.cache-hit != 'true'
5672 run : |
5773 make fprime-venv
5874
59- - name : Cache Zephyr workspace and SDK
60- id : cache-zephyr
61- uses : actions/cache@v4
62- with :
63- path : |
64- lib/zephyr-workspace/modules
65- lib/zephyr-workspace/bootloader
66- ~/zephyr-sdk-0.17.2
67- key : zephyr-minimal -${{ hashFiles('west.yml') }}-${{ runner.os }}-v3
68- restore-keys : |
69- zephyr-minimal -${{ hashFiles('west.yml') }}-${{ runner.os }}-
70- zephyr-minimal -
75+ # - name: Cache Zephyr workspace and SDK
76+ # id: cache-zephyr
77+ # uses: actions/cache@v4
78+ # with:
79+ # path: |
80+ # lib/zephyr-workspace/modules
81+ # lib/zephyr-workspace/bootloader
82+ # ~/zephyr-sdk-0.17.2
83+ # key: zephyr-${{ hashFiles('west.yml') }}-${{ runner.os }}-v3
84+ # restore-keys: |
85+ # zephyr-${{ hashFiles('west.yml') }}-${{ runner.os }}-
86+ # zephyr-
7187
7288 - name : Setup Zephyr
7389 if : steps.cache-zephyr.outputs.cache-hit != 'true'
7995
8096 - name : Build
8197 run : |
82- # Skip both zephyr-setup and submodules since we cached them separately
83- make build -o zephyr-setup -o submodules
98+ make generate-ci build-ci
8499
85100 - name : Upload build artifacts
86101 uses : actions/upload-artifact@v4
0 commit comments