1
0
Fork 0
gitlab-wmf-ircservserv-config/.gitlab-ci.yml

19 lines
431 B
YAML
Raw Normal View History

stages:
- test
variables:
CARGO_BUILD_JOBS: "1"
IRCSERVSERV_REPO: "https://gitlab.wikimedia.org/toolforge-repos/ircservserv"
test-validate:
stage: test
tags:
- wmcs
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
image: rust:latest
script:
- cargo install --locked --git $IRCSERVSERV_REPO
- /usr/local/cargo/bin/validate-config channels