We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d97578d commit bf7c123Copy full SHA for bf7c123
1 file changed
.github/workflows/codspeed.yml
@@ -53,7 +53,7 @@ jobs:
53
# Set measurement mode from Cargo.toml metadata, default to "instrumentation".
54
mode=$(cargo metadata --no-deps --format-version 1 | jq -r --arg crate "$crate" --arg bench "$bench" '.packages[] | select(.name == $crate) | .metadata.bench[$bench].codspeed.mode // "instrumentation"')
55
echo "Building benchmark '$bench' in crate '$crate' (dir '$dir') with measurement mode '$mode'"
56
- cargo codspeed build --package "$crate" --locked --features bench --bench "$bench" --release --measurement-mode "$mode"
+ cargo codspeed build --package "$crate" --locked --features bench --bench "$bench" --measurement-mode "$mode"
57
done
58
fi
59
done < <(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | .name + ":" + .manifest_path')
0 commit comments