Commit be2b4ddf authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab-ci: use a better tag structure

parent da7700f2
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment