Skip to content

Commit 33195c9

Browse files
committed
ci clean before build
1 parent bf4e000 commit 33195c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/build_all.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
os.makedirs(bin_directory, exist_ok=True)
3636

3737
start_time = time.monotonic()
38-
make_result = subprocess.run("make -j 4 BOARD={} all".format(board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
38+
subprocess.run("make -j BOARD={} clean".format(board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
39+
make_result = subprocess.run("make -j BOARD={} all".format(board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
3940
build_duration = time.monotonic() - start_time
4041

4142
flash_size = "-"

0 commit comments

Comments
 (0)