Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
johnbatty
rust-gitlab
Commits
be2b4ddf
Commit
be2b4ddf
authored
Dec 11, 2019
by
Ben Boeckel
⛰
Browse files
gitlab-ci: use a better tag structure
parent
da7700f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
be2b4ddf
...
...
@@ -7,12 +7,6 @@ before_script:
-
rustc --version
-
cargo --version
.rust_tags
:
&rust_tags
-
rust
-
docker
-
ghostflow
-
linux
.cargo_update
:
&cargo_update
-
cargo generate-lockfile $GENERATE_LOCKFILE_ARGS
-
cargo fetch --locked
...
...
@@ -59,7 +53,12 @@ before_script:
.cargo_fetch_job
:
&cargo_fetch_job
stage
:
prepare
tags
:
*rust_tags
tags
:
-
build
-
docker
-
ghostflow
-
linux
script
:
*cargo_update
artifacts
:
expire_in
:
60m
...
...
@@ -75,13 +74,21 @@ before_script:
.cargo_clippy_job
:
&cargo_clippy_job
stage
:
build
tags
:
*rust_tags
tags
:
-
build
-
docker
-
ghostflow
-
linux
script
:
*cargo_clippy
interruptible
:
true
.cargo_build_job
:
&cargo_build_job
stage
:
build
tags
:
*rust_tags
tags
:
-
build
-
docker
-
ghostflow
-
linux
script
:
*cargo_build
artifacts
:
expire_in
:
60m
...
...
@@ -94,7 +101,11 @@ before_script:
.cargo_test_job
:
&cargo_test_job
stage
:
test
tags
:
*rust_tags
tags
:
-
build
-
docker
-
ghostflow
-
linux
script
:
*cargo_test
interruptible
:
true
...
...
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