Skip to content
Snippets Groups Projects
Commit 7aa4fe63 authored by Stephen D's avatar Stephen D
Browse files

Gitlab CI

parent b731421a
No related branches found
No related tags found
1 merge request!3CI
Pipeline #79 passed
image: "rust:latest"
stages:
- test
- build
before_script:
- apt-get update -q && apt-get install mingw-w64 -yqq
- rustup component add rustfmt
- rustup component add clippy
- rustup target add x86_64-pc-windows-gnu
test:
stage: test
script:
- cargo fmt -- --check
- cargo clippy --all-targets --all-features -- -D warnings
- cargo test
build:
stage: build
script:
- cargo build --release
- cargo build --release --target x86_64-pc-windows-gnu
artifacts:
paths:
- target/release/dotacat
- target/x86_64-pc-windows-gnu/release/dotacat.exe
......@@ -11,8 +11,6 @@ repository = "https://git.scd31.com/stephen/dotacat"
keywords = ["cli", "rainbow", "cat", "colourful", "colorful"]
categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
colored = "2.0"
rand = "0.7"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment