Unverified Commit 414eca1b authored by Hero Bird's avatar Hero Bird Committed by GitHub

Fix GitLab CI manifest path (#279)

* [ci] add manifest-path arg where necessary

* [ci] do cargo fmt without loop since not required
parent 7358ca80
Pipeline #70036 passed with stages
in 7 minutes and 44 seconds
......@@ -61,7 +61,7 @@ check-std:
<<: *docker-env
script:
- for crate in ${ALL_CRATES}; do
cargo check --verbose --all-features;
cargo check --verbose --all-features --manifest-path ${crate}/Cargo.toml;
done
check-wasm:
......@@ -81,7 +81,7 @@ build-std:
- check-std
script:
- for crate in ${ALL_CRATES}; do
cargo build --verbose --all-features --release;
cargo build --verbose --all-features --release --manifest-path ${crate}/Cargo.toml;
done
build-wasm:
......@@ -101,7 +101,7 @@ test:
- check-std
script:
- for crate in ${ALL_CRATES}; do
cargo test --verbose --all-features --release;
cargo test --verbose --all-features --release --manifest-path ${crate}/Cargo.toml;
done
clippy-std:
......@@ -111,7 +111,7 @@ clippy-std:
- check-std
script:
- for crate in ${ALL_CRATES}; do
cargo clippy --verbose --all-features -- -D warnings;
cargo clippy --verbose --all-features --manifest-path ${crate}/Cargo.toml -- -D warnings;
done
clippy-wasm:
......@@ -121,16 +121,14 @@ clippy-wasm:
- check-wasm
script:
- for crate in ${ALL_CRATES}; do
cargo clippy --verbose --manifest-path ${crate}/Cargo.toml --no-default-features --target wasm32-unknown-unknown -- -D warnings;
cargo clippy --verbose --no-default-features --manifest-path ${crate}/Cargo.toml --target wasm32-unknown-unknown -- -D warnings;
done
fmt:
stage: workspace
<<: *docker-env
script:
- for crate in ${ALL_CRATES}; do
cargo fmt --verbose -- --check;
done
- cargo fmt --verbose --all -- --check
#### stage: examples
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment