mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
start with a clean ci/builds always
This commit is contained in:
parent
7ce4391e4e
commit
7f45254e39
2 changed files with 24 additions and 6 deletions
|
|
@ -14,7 +14,7 @@ use std::{
|
|||
use structopt::StructOpt;
|
||||
|
||||
use crate::{
|
||||
build::{build_hexpath, compare_builds},
|
||||
build::{build_hexpath, compare_builds, init_build_dir},
|
||||
command::{run_command, run_successful, BuildMode, CargoCommand},
|
||||
};
|
||||
|
||||
|
|
@ -98,6 +98,8 @@ fn main() -> anyhow::Result<()> {
|
|||
let opts = Options::from_args();
|
||||
let target = &opts.target;
|
||||
|
||||
init_build_dir()?;
|
||||
|
||||
if target == "all" {
|
||||
for t in targets {
|
||||
run_test(t, examples)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue