burritos/.gitlab-ci.yml
François Autin 1081c910ee
Updated CI
2023-03-10 11:12:49 +01:00

27 lines
387 B
YAML

default:
image: rust:latest
stages:
- build
- test
build-job:
stage: build
script:
- echo "Compiling the code..."
- cargo build
- echo "Compile complete."
unit-test-job:
stage: test
script:
- echo "Running unit tests..."
- cargo test
lint-test-job:
only:
- merge_requests
stage: test
script:
- echo "Linting code..."
- cargo clippy