2024-07-19 23:40:11 +02:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
variables:
|
|
|
|
CARGO_BUILD_JOBS: "1"
|
2024-07-21 19:53:05 +02:00
|
|
|
IRCSERVSERV_REPO: "https://gitlab.wikimedia.org/toolforge-repos/ircservserv"
|
2024-07-19 23:40:11 +02:00
|
|
|
|
|
|
|
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:
|
2024-07-21 19:53:05 +02:00
|
|
|
- cargo install --locked --git $IRCSERVSERV_REPO
|
2024-07-19 23:40:11 +02:00
|
|
|
- /usr/local/cargo/bin/validate-config channels
|