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
43b4f5cc
Verified
Commit
43b4f5cc
authored
Oct 02, 2019
by
Denis_P
🏑
Browse files
parallelize checks
parent
0c4d027c
Pipeline
#53116
canceled with stage
in 5 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
43b4f5cc
...
...
@@ -88,9 +88,8 @@ test-linux:
-
rustup component add clippy rustfmt
# - rustup target add wasm32-unknown-unknown
script
:
-
|
./scripts/check-workspace.sh
check_workspace=$?
-
./scripts/check-workspace.sh
-
check_workspace=$?
# if [ $check_workspace -eq 0 ]
# then
#
# Execute and upload kcov results
...
...
@@ -98,13 +97,39 @@ test-linux:
# kcov=$?
# bash <(curl -s https://codecov.io/bash)
# fi
./scripts/check-examples.sh
check_examples=$?
if [ $check_examples -eq 0 ] && [ $check_workspace -eq 0 ]
-
if [ $check_workspace -eq 0 ];
then
echo "
All
checks have passed!"
exit 0
echo "
Workspace
checks have passed!"
;
exit 0
;
else
echo "Some checks have not passed!"
exit 1
fi
\ No newline at end of file
echo "Some workspace checks have not passed!";
exit 1;
fi
test-linux
:
stage
:
test
<<
:
*docker-env
before_script
:
# Print rustc and cargo versions
-
rustc -vV
-
cargo -vV
-
rustup show
-
bash --version
# install rust components
-
rustup default nightly-2019-08-30
-
rustup target add wasm32-unknown-unknown
-
rustup component add clippy rustfmt
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
# stage: build
\ No newline at end of file
scripts/check-workspace.sh
View file @
43b4f5cc
...
...
@@ -63,5 +63,5 @@ then
else
echo
"workspace: Some checks failed"
echo
"
$banner
"
exit
0
# debug
exit
1
fi
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