refactor(ci): refactor .gitlab-ci to add tests

This commit is contained in:
VC
2022-04-22 09:12:26 +02:00
parent d228ceaaf6
commit 16792e515a

View File

@@ -1,13 +1,15 @@
---
stages:
- build
- build
rust-latest:
stage: build
artifacts:
paths:
- target/release/scootaloo
image: rust:latest
script:
- cargo build --release --verbose
- strip target/release/${CI_PROJECT_NAME}
stage: build
artifacts:
paths:
- target/release/scootaloo
image: rust:latest
script:
- cargo test
- cargo build --release --verbose
- strip target/release/${CI_PROJECT_NAME}