diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a79242debf778a8db8a08ecee3499a2f1b7e1e4a..69cebc31a749713ee67ee14f7e33d319ebf43360 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,17 +3,18 @@ stages: - test - publish -build: +default: tags: - linux + - docker + +build: stage: build image: rust:latest script: - cargo build rustdoc: - tags: - - linux stage: build image: rust:latest script: @@ -23,16 +24,12 @@ rustdoc: - target/doc unit-test: - tags: - - linux stage: test image: rust:latest script: - cargo test --lib lint-test: - tags: - - linux stage: test image: rust:latest script: @@ -40,8 +37,6 @@ lint-test: - cargo clippy docs: - tags: - - linux stage: publish image: alpine dependencies: @@ -53,4 +48,4 @@ docs: paths: - public only: - - master \ No newline at end of file + - master