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

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: ...@@ -61,7 +61,7 @@ check-std:
<<: *docker-env <<: *docker-env
script: script:
- for crate in ${ALL_CRATES}; do - for crate in ${ALL_CRATES}; do
cargo check --verbose --all-features; cargo check --verbose --all-features --manifest-path ${crate}/Cargo.toml;
done done
check-wasm: check-wasm:
...@@ -81,7 +81,7 @@ build-std: ...@@ -81,7 +81,7 @@ build-std:
- check-std - check-std
script: script:
- for crate in ${ALL_CRATES}; do - for crate in ${ALL_CRATES}; do
cargo build --verbose --all-features --release; cargo build --verbose --all-features --release --manifest-path ${crate}/Cargo.toml;
done done
build-wasm: build-wasm:
...@@ -101,7 +101,7 @@ test: ...@@ -101,7 +101,7 @@ test:
- check-std - check-std
script: script:
- for crate in ${ALL_CRATES}; do - for crate in ${ALL_CRATES}; do
cargo test --verbose --all-features --release; cargo test --verbose --all-features --release --manifest-path ${crate}/Cargo.toml;
done done
clippy-std: clippy-std:
...@@ -111,7 +111,7 @@ clippy-std: ...@@ -111,7 +111,7 @@ clippy-std:
- check-std - check-std
script: script:
- for crate in ${ALL_CRATES}; do - 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 done
clippy-wasm: clippy-wasm:
...@@ -121,16 +121,14 @@ clippy-wasm: ...@@ -121,16 +121,14 @@ clippy-wasm:
- check-wasm - check-wasm
script: script:
- for crate in ${ALL_CRATES}; do - 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 done
fmt: fmt:
stage: workspace stage: workspace
<<: *docker-env <<: *docker-env
script: script:
- for crate in ${ALL_CRATES}; do - cargo fmt --verbose --all -- --check
cargo fmt --verbose -- --check;
done
#### stage: examples #### stage: examples
......
Supports Markdown
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