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
0613c044
Verified
Commit
0613c044
authored
Oct 04, 2019
by
Denis_P
🏑
Browse files
CI is ready
parent
7a655e55
Pipeline
#53291
failed with stages
in 3 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0613c044
...
...
@@ -49,43 +49,43 @@ cargo-check-af:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time
cargo check --verbose --all --all-features
-
cargo check --verbose --all --all-features
cargo-check-nf
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time
cargo check --verbose --all --no-default-features
-
cargo check --verbose --all --no-default-features
cargo-fmt
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time
cargo fmt --verbose --all -- --check
-
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 --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 clippy --verbose --all --no-default-features -- -D warnings
cargo-test-af
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time
cargo test --verbose --all --all-features
-
cargo test --verbose --all --all-features
cargo-build-nf
:
stage
:
check-workspace
<<
:
*docker-env
script
:
-
time
cargo build --verbose --all --no-default-features --release --target=wasm32-unknown-unknown
-
cargo build --verbose --all --no-default-features --release --target=wasm32-unknown-unknown
#### stage: examples
...
...
@@ -94,7 +94,7 @@ examples-wasm:
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
time
cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml;
cargo build --release --no-default-features --target=wasm32-unknown-unknown --verbose --manifest-path examples/lang/$example/Cargo.toml;
done
-
sccache -s
...
...
@@ -103,7 +103,7 @@ examples-test:
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
time
cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml;
cargo test --verbose --manifest-path examples/lang/$example/Cargo.toml;
done
-
sccache -s
...
...
@@ -112,6 +112,6 @@ examples-abi:
<<
:
*docker-env
script
:
-
for example in $(ls examples/lang); do
time
cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml;
cargo run --package abi-gen --manifest-path examples/lang/$example/Cargo.toml;
done
-
sccache -s
scripts/check-examples.sh
View file @
0613c044
...
...
@@ -19,7 +19,7 @@ declare -A results_abi
all_checks_passed
=
0
for
example
in
$(
ls
examples/lang
)
;
do
time
cargo build
--release
--no-default-features
--target
=
wasm32-unknown-unknown
--verbose
--manifest-path
examples/lang/
$example
/Cargo.toml
cargo build
--release
--no-default-features
--target
=
wasm32-unknown-unknown
--verbose
--manifest-path
examples/lang/
$example
/Cargo.toml
result_wasm
=
$?
let
"all_checks_passed |=
$result_wasm
"
if
[
$result_wasm
-eq
0
]
...
...
@@ -28,7 +28,7 @@ for example in $(ls examples/lang); do
else
results_wasm[
$example
]=
"ERROR"
fi
time
cargo
test
--verbose
--manifest-path
examples/lang/
$example
/Cargo.toml
cargo
test
--verbose
--manifest-path
examples/lang/
$example
/Cargo.toml
result_test
=
$?
let
"all_checks_passed |=
$result_test
"
if
[
$result_test
-eq
0
]
...
...
@@ -37,7 +37,7 @@ for example in $(ls examples/lang); do
else
results_test[
$example
]=
"ERROR"
fi
time
cargo run
--package
abi-gen
--manifest-path
examples/lang/
$example
/Cargo.toml
cargo run
--package
abi-gen
--manifest-path
examples/lang/
$example
/Cargo.toml
result_abi
=
$?
let
"all_checks_passed |=
$result_abi
"
if
[
$result_abi
-eq
0
]
...
...
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