Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use version 1.75.0 of toolchain in scripts #1168

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build-on-all-workspaces.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKSPACES="benches common protocols roles utils"

for workspace in $WORKSPACES; do
echo "Executing build on: $workspace"
cargo build --manifest-path="$workspace/Cargo.toml" --
cargo +1.75.0 build --manifest-path="$workspace/Cargo.toml" --
if [ $? -ne 0 ]; then
echo "Build found some errors in: $workspace"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions scripts/clippy-fmt-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ WORKSPACES="benches common protocols roles utils"

for workspace in $WORKSPACES; do
echo "Executing clippy on: $workspace"
cargo clippy --manifest-path="$workspace/Cargo.toml" -- -D warnings -A dead-code
cargo +1.75.0 clippy --manifest-path="$workspace/Cargo.toml" -- -D warnings -A dead-code
if [ $? -ne 0 ]; then
echo "Clippy found some errors in: $workspace"
exit 1
fi

echo "Running tests on: $workspace"
cargo test --manifest-path="$workspace/Cargo.toml"
cargo +1.75 test --manifest-path="$workspace/Cargo.toml"
if [ $? -ne 0 ]; then
echo "Tests failed in: $workspace"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion scripts/code-coverage-report.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh

cd roles
RUST_LOG=debug cargo llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report
RUST_LOG=debug cargo +1.75.0 llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report
2 changes: 1 addition & 1 deletion scripts/message-generator-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ for entry in `ls $search_dir`; do
done

cd roles
RUST_LOG=debug cargo llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report
RUST_LOG=debug cargo +1.75.0 llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report

Loading