Skip to content

Commit

Permalink
fix(workflow): Fix BLE Project Build Test Failures (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter authored May 13, 2024
1 parent adf9d67 commit 8ab058a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@

def build_project(project:Path, target, board, maxim_path:Path, distclean=False, extra_args=None) -> Tuple[int, tuple]:
clean_cmd = "make clean" if not distclean else "make distclean"
if "Bluetooth" in project.as_posix() or "BLE" in project.as_posix():
# Clean cordio lib for BLE projects
clean_cmd += "&& make clean.cordio"
res = run(clean_cmd, cwd=project, shell=True, capture_output=True, encoding="utf-8")

# Test build
Expand Down

0 comments on commit 8ab058a

Please sign in to comment.