From 441b44af27572aaf570a4603c08209a7832d2b1b Mon Sep 17 00:00:00 2001 From: Jake Carter Date: Mon, 13 May 2024 14:58:22 -0600 Subject: [PATCH] Clean cordio libs in build test workflow --- .github/workflows/scripts/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scripts/build.py b/.github/workflows/scripts/build.py index 2c962760220..1fe1e4c1ac5 100644 --- a/.github/workflows/scripts/build.py +++ b/.github/workflows/scripts/build.py @@ -44,6 +44,7 @@ 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 target in ["MAX32655", "MAX32665", "MAX32690"]: clean_cmd += "&& make clean.cordio" res = run(clean_cmd, cwd=project, shell=True, capture_output=True, encoding="utf-8") # Test build