Commit 0613c044 authored by Denis_P's avatar Denis_P 🤸

CI is ready

parent 7a655e55
Pipeline #53291 failed with stages
in 3 minutes and 38 seconds
......@@ -49,43 +49,43 @@ cargo-check-af:
stage: check-workspace
<<: *docker-env
script:
- time cargo check --verbose --all --all-features
- cargo check --verbose --all --all-features
cargo-check-nf:
stage: check-workspace
<<: *docker-env
script:
- time cargo check --verbose --all --no-default-features
- cargo check --verbose --all --no-default-features
cargo-fmt:
stage: check-workspace
<<: *docker-env
script:
- time cargo fmt --verbose --all -- --check
- cargo fmt --verbose --all -- --check
cargo-clippy-af:
stage: check-workspace
<<: *docker-env
script:
- time cargo clippy --verbose --all --all-features -- -D warnings
- cargo clippy --verbose --all --all-features -- -D warnings
cargo-clippy-nf:
stage: check-workspace
<<: *docker-env
script:
- time cargo clippy --verbose --all --no-default-features -- -D warnings
- cargo clippy --verbose --all --no-default-features -- -D warnings
cargo-test-af:
stage: check-workspace
<<: *docker-env
script:
- time cargo test --verbose --all --all-features
- cargo test --verbose --all --all-features
cargo-build-nf:
stage: check-workspace
<<: *docker-env
script:
- time cargo build --verbose --all --no-default-features --release --target=wasm32-unknown-unknown
- cargo build --verbose --all --no-default-features --release --target=wasm32-unknown-unknown
#### stage: examples
......@@ -94,7 +94,7 @@ examples-wasm:
<<: *docker-env
script:
- for example in $(ls examples/lang); do
time cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml;
cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml;
done
- sccache -s
......@@ -103,7 +103,7 @@ examples-test:
<<: *docker-env
script:
- for example in $(ls examples/lang); do
time cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml;
cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml;
done
- sccache -s
......@@ -112,6 +112,6 @@ examples-abi:
<<: *docker-env
script:
- for example in $(ls examples/lang); do
time cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml;
cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml;
done
- sccache -s
......@@ -19,7 +19,7 @@ declare -A results_abi
all_checks_passed=0
for example in $(ls examples/lang); do
time cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml
cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml
result_wasm=$?
let "all_checks_passed |= $result_wasm"
if [ $result_wasm -eq 0 ]
......@@ -28,7 +28,7 @@ for example in $(ls examples/lang); do
else
results_wasm[$example]="ERROR"
fi
time cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml
cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml
result_test=$?
let "all_checks_passed |= $result_test"
if [ $result_test -eq 0 ]
......@@ -37,7 +37,7 @@ for example in $(ls examples/lang); do
else
results_test[$example]="ERROR"
fi
time cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml
cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml
result_abi=$?
let "all_checks_passed |= $result_abi"
if [ $result_abi -eq 0 ]
......
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