Skip to content

Commit d5d7b04

Browse files
author
Jan Kamidra
committed
add actions for submodules
1 parent 1b46b21 commit d5d7b04

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/greentea_cmake.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,20 @@ jobs:
127127
steps:
128128
- name: Checkout
129129
uses: actions/checkout@v4
130+
with:
131+
submodules: recursive # fetch submodules
132+
133+
- name: Verify submodules present
134+
run: |
135+
git submodule status
136+
test -f cmsis/CMSIS-RTX/Config/RTX_Config.h
137+
test -f cmsis/CMSIS_6/CMSIS/Core/Include/cmsis_version.h
138+
139+
- name: Show submodule SHAs
140+
run: |
141+
git submodule status --recursive
142+
git ls-tree HEAD cmsis/CMSIS-RTX
143+
git ls-tree HEAD cmsis/CMSIS_6
130144
131145
- name: Install python3-venv
132146
run: |

.github/workflows/test_building_multiple_executables.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v4
12+
with:
13+
submodules: recursive # fetch submodules
14+
15+
- name: Verify submodules present
16+
run: |
17+
git submodule status
18+
test -f cmsis/CMSIS-RTX/Config/RTX_Config.h
19+
test -f cmsis/CMSIS_6/CMSIS/Core/Include/cmsis_version.h
20+
21+
- name: Show submodule SHAs
22+
run: |
23+
git submodule status --recursive
24+
git ls-tree HEAD cmsis/CMSIS-RTX
25+
git ls-tree HEAD cmsis/CMSIS_6
1226
1327
- name: Install Python packages
1428
# Note: pip>=20.3 is needed to install dependencies of cysecuretools

0 commit comments

Comments
 (0)