Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
I
ink
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
parity
ink
Commits
0eb3ed81
Verified
Commit
0eb3ed81
authored
Oct 02, 2019
by
Denis_P
🤸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
38 additions
and
39 deletions
+38
-39
.gitlab-ci.yml
.gitlab-ci.yml
+38
-39
No files found.
.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
:
test
stage
:
examples
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
...
...
@@ -99,7 +100,7 @@ examples-wasm:
-
sccache -s
examples-test
:
stage
:
test
stage
:
examples
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
...
...
@@ -108,12 +109,10 @@ examples-test:
-
sccache -s
examples-abi
:
stage
:
test
stage
:
examples
<<
:
*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