Skip to content
Snippets Groups Projects
This GitLab CI configuration is valid. Learn more
Forked from UCC / Discord Bot
53 commits behind the upstream repository.
.gitlab-ci.yml 310 B
image: 'rust:latest'

stages:
  - test
  - build

variables:
  CARGO_HOME: $CI_PROJECT_DIR/cargo

test:
  stage: test
  script:
    - rustc --version
    - cargo --version
    - cargo test --verbose

build:
  stage: build
  script:
    - cargo build --all --verbose

cache:
  paths:
    - cargo/
    - target/