9c29b3fcb2
The pinning of the commit was only needed to bypass blubber's caching, which shouldn't be needed here.
18 lines
431 B
YAML
18 lines
431 B
YAML
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
|