Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
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
Operate
Environments
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
GitLab 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
nodes
rust
Dunitrust
Commits
881a09e7
Commit
881a09e7
authored
6 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[ci] rework gitlab-ci file
parent
438e2670
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!80
CI build release for windows 64 bits
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+21
-21
21 additions, 21 deletions
.gitlab-ci.yml
with
21 additions
and
21 deletions
.gitlab-ci.yml
+
21
−
21
View file @
881a09e7
stages
:
-
tests
-
fmt
-
tests
-
clippy
-
publish_crate
-
publish_doc
...
...
@@ -11,14 +11,14 @@ stages:
variables
:
CARGO_HOME
:
$CI_PROJECT_DIR/cargo
.rust_stable_
env
:
&rust_stable_
env
.rust_stable_
lin64
:
&rust_stable_
lin64
tags
:
-
redshift-rs-stable
before_script
:
-
export PATH="$HOME/.cargo/bin:$PATH"
-
rustc --version && cargo --version
.rust_beta_
env
:
&rust_beta_
env
.rust_beta_
lin64
:
&rust_beta_
lin64
image
:
parity/rust:gitlab-ci
tags
:
-
redshift-rs-stable
...
...
@@ -27,7 +27,7 @@ variables:
-
rustup default beta
-
rustup show && rustc --version && cargo --version
.rust_nightly_
env
:
&rust_nightly_
env
.rust_nightly_
lin64
:
&rust_nightly_
lin64
image
:
rustlang/rust:nightly
tags
:
-
redshift-rs-nightly
...
...
@@ -49,8 +49,18 @@ variables:
before_script
:
-
rustc --version && cargo --version
fmt
:
<<
:
*rust_nightly_lin64
stage
:
fmt
before_script
:
-
rustup show
-
rustup component add rustfmt-preview --toolchain nightly
script
:
-
cargo fmt -- --check
allow_failure
:
true
tests:linux64:stable
:
<<
:
*rust_stable_
env
<<
:
*rust_stable_
lin64
stage
:
tests
tags
:
-
redshift-rs-stable
...
...
@@ -75,7 +85,7 @@ tests:win64:stable:
-
cargo test --all --exclude duniter-tui --no-default-features --target=x86_64-pc-windows-gnu
tests:linux64:beta
:
<<
:
*rust_beta_
env
<<
:
*rust_beta_
lin64
stage
:
tests
script
:
-
cargo build --features strict
...
...
@@ -84,7 +94,7 @@ tests:linux64:beta:
allow_failure
:
true
tests:linux64:nightly
:
<<
:
*rust_nightly_
env
<<
:
*rust_nightly_
lin64
stage
:
tests
script
:
-
cargo build --features strict
...
...
@@ -92,16 +102,6 @@ tests:linux64:nightly:
when
:
manual
allow_failure
:
true
fmt
:
<<
:
*rust_nightly_env
stage
:
fmt
before_script
:
-
rustup show
-
rustup component add rustfmt-preview --toolchain nightly
script
:
-
cargo fmt -- --check
allow_failure
:
true
clippy
:
image
:
guangie88/rustfmt-clippy:nightly
tags
:
...
...
@@ -115,7 +115,7 @@ clippy:
allow_failure
:
true
publish:crate
:
<<
:
*rust_stable_
env
<<
:
*rust_stable_
lin64
stage
:
publish_crate
script
:
-
IFS='/' read -r first a <<< "$CI_COMMIT_TAG"
...
...
@@ -128,7 +128,7 @@ publish:crate:
when
:
manual
pages
:
<<
:
*rust_stable_
env
<<
:
*rust_stable_
lin64
stage
:
publish_doc
script
:
-
cargo doc
...
...
@@ -157,7 +157,7 @@ package:test:win64:
when
:
manual
package:test:linux64
:
<<
:
*rust_stable_
env
<<
:
*rust_stable_
lin64
stage
:
package
script
:
-
bash "release/arch/linux-x64/build-lin-x64.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)"
...
...
@@ -174,7 +174,7 @@ package:test:linux64:
when
:
manual
package:prod:linux64
:
<<
:
*rust_stable_
env
<<
:
*rust_stable_
lin64
stage
:
package
script
:
-
bash "release/arch/linux-x64/build-lin-x64.sh" "${CI_COMMIT_TAG#v}"
...
...
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