Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
0eb3ed81
Verified
Commit
0eb3ed81
authored
Oct 02, 2019
by
Denis_P
🏑
Browse files
parallelized workspace
parent
b205ded0
Pipeline
#53145
failed with stages
in 3 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0eb3ed81
...
...
@@ -6,8 +6,8 @@
stages
:
-
test
-
build
-
check-workspace
-
examples
variables
:
GIT_STRATEGY
:
fetch
...
...
@@ -43,54 +43,55 @@ variables:
tags
:
-
linux-docker
#### stage:
test
#### stage:
check-workspace
.check-workspace
:
stage
:
test
cargo-check-af
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
./scripts/check-workspace.sh
-
check_workspace=$?
-
if [ $check_workspace -eq 0 ];
then
echo "Workspace checks have passed!";
exit 0;
else
echo "Some workspace checks have not passed!";
exit 1;
fi
-
sccache -s
check-workspace
:
stage
:
test
-
time cargo check --verbose --all --all-features
cargo-check-nf
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time cargo check --verbose --all --all-features
-
time cargo check --verbose --all --no-default-features
cargo-fmt
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time 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-nf
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time 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
-
time cargo build --verbose --all --no-default-features --release --target=wasm32-unknown-unknown
.check-examples
:
stage
:
test
cargo-build-nf
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
./scripts/check-examples.sh
-
check_examples=$?
-
if [ $check_examples -eq 0 ];
then
echo "Examples checks have passed!";
exit 0;
else
echo "Some examples checks have not passed!";
exit 1;
fi
-
sccache -s
-
time cargo build --verbose --all --no-default-features --release --target=wasm32-unknown-unknown
# stage: build
examples-wasm
:
stage
:
t
es
t
stage
:
exampl
es
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
...
...
@@ -99,7 +100,7 @@ examples-wasm:
-
sccache -s
examples-test
:
stage
:
t
es
t
stage
:
exampl
es
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
...
...
@@ -108,12 +109,10 @@ examples-test:
-
sccache -s
examples-abi
:
stage
:
t
es
t
stage
:
exampl
es
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
time cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml;
done
-
sccache -s
# stage: build
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment