Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
clients
Rust
Ğcli
Commits
15165726
Commit
15165726
authored
Dec 17, 2020
by
Éloïs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: add gitlab ci
parent
875ba399
Pipeline
#10496
failed with stages
in 4 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
.gitlab-ci.yml
.gitlab-ci.yml
+45
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
15165726
stages
:
-
fmt
-
tests
-
quality
.rust_stable_lin64
:
image
:
registry.duniter.org/docker/rust/rust-x64-stable-ci:latest
tags
:
-
redshift
before_script
:
-
export PATH="$HOME/.cargo/bin:$PATH"
-
rustup show
-
rustc --version && cargo --version
fmt
:
extends
:
.rust_stable_lin64
stage
:
fmt
script
:
-
cargo fmt -- --version
-
cargo fmt -- --check
tests:linux64:stable:
extends
:
.rust_stable_lin64
stage
:
tests
tags
:
-
redshift
script
:
-
RUSTFLAGS="-D warnings" cargo build
-
cargo test --doc
-
cargo tarpaulin --all --all-features --ignore-tests -iv --out Xml
#- bash <(curl -s https://codecov.io/bash)
clippy
:
extends
:
.rust_stable_lin64
stage
:
quality
script
:
-
cargo clippy -- -V
-
cargo clippy --all --tests -- -D warnings --verbose
audit_dependencies
:
extends
:
.rust_stable_lin64
stage
:
quality
script
:
-
cargo deny -V
-
cargo deny check
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