Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
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
Show more breadcrumbs
nodes
rust
Duniter v2S
Merge requests
!3
ci: create
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ci: create
elois-ci
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Éloïs
requested to merge
elois-ci
into
master
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
5dbd9965
Prev
Next
Show latest version
1 file
+
67
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5dbd9965
ci: create
· 5dbd9965
Éloïs
authored
3 years ago
.gitlab-ci.yml
0 → 100644
+
67
−
0
Options
stages
:
-
style
-
tests
-
quality
-
build
workflow
:
rules
:
-
changes
:
-
node/**/*
-
pallets/**/*
-
runtime/**/*
-
.gitlab-ci.yml
-
Cargo.toml
-
Cargo.lock
.env
:
image
:
paritytech/ci-linux:production
tags
:
-
elois-tauon
rustfmt
:
extends
:
.env
stage
:
style
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_MERGE_REQUEST_ID
script
:
-
cargo fmt -- --version
-
cargo fmt -- --check
tests
:
extends
:
.env
rules
:
-
if
:
$CI_COMMIT_REF_NAME =~ /^wip*$/
when
:
manual
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
'
$CI_MERGE_REQUEST_ID
||$CI_COMMIT_BRANCH
==
"master"
||
$CI_COMMIT_BRANCH
=~
/^release/'
-
when
:
manual
stage
:
tests
script
:
-
cargo test
clippy
:
extends
:
.env
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_MERGE_REQUEST_ID
-
when
:
on_success
stage
:
quality
script
:
-
cargo clippy -- -V
-
cargo clippy --all --tests -- -D warnings
build
:
extends
:
.env
rules
:
-
if
:
$CI_COMMIT_REF_NAME =~ /^wip*$/
when
:
manual
-
if
:
'
$CI_COMMIT_TAG
||
$CI_MERGE_REQUEST_ID
||$CI_COMMIT_BRANCH
==
"master"
||
$CI_COMMIT_BRANCH
=~
/^release/'
-
when
:
manual
stage
:
build
script
:
-
cargo build --release
Loading