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

20 lines
483 B
YAML
Raw Normal View History

stages:
- test
variables:
CARGO_BUILD_JOBS: "1"
IRCSERVSERV_REPO: "https://gerrit.wikimedia.org/r/wikimedia/irc/ircservserv"
IRCSERVSERV_REV: "f5f4d95"
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 --rev $IRCSERVSERV_REV
- /usr/local/cargo/bin/validate-config channels