Skip to content

Commit 330a350

Browse files
committed
test the version inside
1 parent 848331c commit 330a350

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/bsp_buildings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ jobs:
525525
echo "RTT_EXEC_PATH=/opt/i386-unknown-elf_for_x86_64-pc-linux-gnu/bin" >> $GITHUB_ENV
526526
527527
- name: Bsp Scons Compile
528-
if: ${{ success() }}
528+
if: ${{ success() && matrix.legs.RTT_BSP == 'stm32l4_f0_f1(cmake)' }}
529529
env:
530530
RTT_BSP: ${{ matrix.legs.RTT_BSP }}
531531
RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}

tools/ci/bsp_buildings.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import shutil
33
import re
44
import multiprocessing
5+
import subprocess
56
import yaml
67

78
def add_summary(text):
@@ -221,6 +222,16 @@ def build_bsp_attachconfig(bsp, attach_file):
221222
rtt_root = os.getcwd()
222223
srtt_bsp = os.getenv('SRTT_BSP').split(',')
223224
build_tool = os.getenv('RTT_BUILD_TOOL')
225+
226+
os.system("which cmake")
227+
os.system("cmake --version")
228+
os.system("cmake --help")
229+
os.system("which ninja")
230+
os.system("ninja --version")
231+
232+
subprocess.run(['cmake', '--version'])
233+
subprocess.run(['cmake', '--help'])
234+
subprocess.run(['ninja', '--version'])
224235

225236
for bsp in srtt_bsp:
226237
count += 1

0 commit comments

Comments
 (0)