-
Notifications
You must be signed in to change notification settings - Fork 5
/
GitLab_CWToolsCI.yml
39 lines (34 loc) · 1.33 KB
/
GitLab_CWToolsCI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# cwtools-action v1.0, 2019-12-02
# Please occasionally check below for updates to this template
# https://github.com/cwtools/cwtools-action
# Example GitLab CI workflow file for a Stellaris project
# Will trigger when a merge request to master is created
# Rename to .gitlab-ci.yml and put in root of your repository
image: mcr.microsoft.com/dotnet/core/sdk:3.0
variables:
DOCKER_DRIVER: overlay2
GIT_STRATEGY: clone # Please see https://github.com/cwtools/cwtools-action/issues/3 for details as to why this is needed
INPUT_GAME: "stellaris" # Change to the game used in your project
# Variables below are optional and set to their default values - uncomment and change them if you wish so
#INPUT_MODPATH: ''
#INPUT_CACHE: ''
#INPUT_LOCLANGUAGES: 'english'
#INPUT_RULES: ''
#INPUT_RULESREF: 'master'
#INPUT_VANILLAMODE: '0'
#INPUT_SUPPRESSEDOFFENCECATEGORIES: '{"failure":[], "warning":[], "notice":[]}'
#INPUT_SUPPRESSEDFILES: '[]'
#INPUT_CWTOOLSCLIVERSION: ''
stages:
- CWTools_CI
CWTools_CI:
stage: CWTools_CI
only: [merge_requests]
script:
- wget -O - -q https://raw.githubusercontent.com/cwtools/cwtools-action/v1.1.0/lib/gitlab_setup.sh | sh -s
# Optional, expose the CWTools errors in JSON
artifacts:
expose_as: 'CWTools output'
paths:
- output.json
when: always