Skip to content

Commit

Permalink
fix, add test
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 14, 2023
1 parent a5aa675 commit 90496ad
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ jobs:

# STM32H7
- BTT_SKR_SE_BX
- STM32H743VI_btt

# STM32F1 (Maple)
- jgaurora_a5s_a1_maple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
platform_name = framewords[platform.__class__.__name__]
else:
spec = PackageSpec(platform_packages[0])
if uri in spec and '@' in spec.uri:
if spec.uri and '@' in spec.uri:
platform_name = re.sub(r'@.+', '' , spec.uri)
else:
platform_name = spec.name
Expand Down
16 changes: 16 additions & 0 deletions buildroot/tests/STM32H743VI_btt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#
# Build tests for STM32H743VI_btt / Ender-3 with SKR V3.0 (STM32H7)
#

# exit on first failure
set -e

#
# Build with the default configurations
#
use_example_configs "Creality/Ender-5 Plus/BigTreeTech SKR 3"
exec_test $1 $2 "Creality Ender-5 Plus with BigTreeTech SKR 3" "$3"

# clean up
restore_configs

0 comments on commit 90496ad

Please sign in to comment.