Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ğ
Ğcli
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
Rust
Ğcli
Commits
15165726
Commit
15165726
authored
4 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
build: add gitlab ci
parent
875ba399
No related branches found
No related tags found
No related merge requests found
Pipeline
#10496
failed
4 years ago
Stage: fmt
Stage: tests
Stage: quality
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+45
-0
45 additions, 0 deletions
.gitlab-ci.yml
with
45 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
45
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment