Verified Commit 1470c2fe authored by Denis_P's avatar Denis_P 👙

examples parallelized

parent 32e96766
Pipeline #53136 failed with stage
in 1 minute and 43 seconds
...@@ -59,21 +59,29 @@ check-workspace: ...@@ -59,21 +59,29 @@ check-workspace:
echo "Some workspace checks have not passed!"; echo "Some workspace checks have not passed!";
exit 1; exit 1;
fi fi
- sccache -s
check-examples: examples-wasm:
stage: test stage: test
<<: *docker-env <<: *docker-env
script: script:
- ./scripts/check-examples.sh - cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml
- check_examples=$? - sccache -s
- if [ $check_examples -eq 0 ];
then examples-test:
echo "Examples checks have passed!"; stage: test
exit 0; <<: *docker-env
else script:
echo "Some examples checks have not passed!"; - cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml
exit 1; - sccache -s
fi
examples-abi:
stage: test
<<: *docker-env
script:
- cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml
- sccache -s
# stage: build # stage: build
\ No newline at end of file
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