Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
00ea3938
Commit
00ea3938
authored
Nov 20, 2019
by
Denis_P
🏑
Committed by
Hero Bird
Nov 20, 2019
Browse files
change stages, rename abi (#262)
* change stages, rename abi * rename test job
parent
73e3abd9
Pipeline
#69557
failed with stages
in 28 minutes and 32 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
00ea3938
...
...
@@ -6,7 +6,8 @@
stages
:
-
check-workspace
-
check
-
workspace
-
examples
variables
:
...
...
@@ -53,10 +54,11 @@ variables:
tags
:
-
linux-docker
#### stage: check-workspace
#### stage: check
check-std
:
stage
:
check
-workspace
stage
:
check
<<
:
*docker-env
script
:
-
for crate in ${ALL_CRATES}; do
...
...
@@ -64,55 +66,67 @@ check-std:
done
check-wasm
:
stage
:
check
-workspace
stage
:
check
<<
:
*docker-env
script
:
-
for crate in ${WASM_CRATES}; do
cargo check --verbose --no-default-features --target wasm32-unknown-unknown --manifest-path ${crate}/Cargo.toml;
done
#### stage: workspace
build-std
:
stage
:
check-
workspace
stage
:
workspace
<<
:
*docker-env
dependencies
:
-
check-std
script
:
-
for crate in ${ALL_CRATES}; do
cargo build --verbose --all-features --release;
done
build-wasm
:
stage
:
check-
workspace
stage
:
workspace
<<
:
*docker-env
dependencies
:
-
check-wasm
script
:
-
for crate in ${WASM_CRATES}; do
cargo build --verbose --no-default-features --release --target wasm32-unknown-unknown --manifest-path ${crate}/Cargo.toml;
done
test
-std
:
stage
:
check-
workspace
test
:
stage
:
workspace
<<
:
*docker-env
dependencies
:
-
check-std
script
:
-
for crate in ${ALL_CRATES}; do
cargo test --verbose --all-features --release;
done
clippy-std
:
stage
:
check-
workspace
stage
:
workspace
<<
:
*docker-env
dependencies
:
-
check-std
script
:
-
for crate in ${ALL_CRATES}; do
cargo clippy --verbose --all-features -- -D warnings;
done
clippy-wasm
:
stage
:
check-
workspace
stage
:
workspace
<<
:
*docker-env
dependencies
:
-
check-wasm
script
:
-
for crate in ${WASM_CRATES}; do
cargo clippy --verbose --manifest-path ${crate}/Cargo.toml --no-default-features -- -D warnings;
done
fmt
:
stage
:
check-
workspace
stage
:
workspace
<<
:
*docker-env
script
:
-
for crate in ${ALL_CRATES}; do
...
...
@@ -126,8 +140,8 @@ examples-test:
stage
:
examples
<<
:
*docker-env
script
:
-
for
DIR
in examples/lang2/*; do
cargo test --verbose --manifest-path ${
DIR
}/Cargo.toml;
-
for
example
in examples/lang2/*; do
cargo test --verbose --manifest-path ${
example
}/Cargo.toml;
done
examples-fmt
:
...
...
@@ -164,12 +178,12 @@ examples-contract-build:
popd;
done
examples-generate-
abi
:
examples-generate-
metadata
:
stage
:
examples
<<
:
*docker-env
script
:
-
for example in examples/lang2/*; do
pushd $example &&
cargo contract generate-
abi
&&
cargo contract generate-
metadata
&&
popd;
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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