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: stages:
- build - build
rust-latest: rust-latest:
stage: build stage: build
artifacts: artifacts:
paths: paths:
- target/release/scootaloo - target/release/scootaloo
image: rust:latest image: rust:latest
script: script:
- cargo build --release --verbose - cargo test
- strip target/release/${CI_PROJECT_NAME} - cargo build --release --verbose
- strip target/release/${CI_PROJECT_NAME}