This commit is contained in:
Aaron Honeycutt 2025-04-23 19:19:11 -06:00
parent e54dba7840
commit c2d803c553

View file

@ -1,12 +1,28 @@
run_test:
stages:
- test
- build
- deploy-prod
test:
stage: test
image: rust:latest
before_script:
- rustup --version
- rustc -vV
- rustup component add clippy
- rustup component add rustfmt
- apt install -y fdisk
- apt update -m
- apt install -y libfdisk-dev libclang-19-dev
script:
- cargo clippy -- --deny clippy::pedantic
- cargo fmt --all -- --check
- cargo test
- cargo test --verbose
build:
stage: build
image: rust:latest
before_script:
- apt update -m
- apt install -y libfdisk-dev libclang-19-dev
script:
- cargo build --verbose
deploy-prod:
stage: deploy
script:
- echo "Let's launch!"
environment: production