forked from Otixa/horizon1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml-original.txt
53 lines (50 loc) · 1.67 KB
/
.gitlab-ci.yml-original.txt
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
stages:
- build
Horizon:Build-Prod:
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
image: registry.internal.st/dual-universe/dubuild:latest
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- dotnet /app/DUBuild.dll build -s $CI_PROJECT_DIR -o $CI_PROJECT_DIR/output -e $CI_PROJECT_DIR/UnitTests -m "$CI_PROJECT_DIR/main.lua"
artifacts:
paths:
- $CI_PROJECT_DIR/output/*.json
Horizon:Build-Limited-VTOL:
rules:
- if: '$CI_COMMIT_BRANCH == "limited-vtol"'
image: registry.internal.st/dual-universe/dubuild:latest
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- dotnet /app/DUBuild.dll build -s $CI_PROJECT_DIR -o $CI_PROJECT_DIR/output -e $CI_PROJECT_DIR/UnitTests -w false -m "$CI_PROJECT_DIR/main.lua"
artifacts:
paths:
- $CI_PROJECT_DIR/output/*.json
Horizon:Build-Elevator:
rules:
- if: '$CI_COMMIT_BRANCH == "elevator-lua-screen"'
image: registry.internal.st/dual-universe/dubuild:latest
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- dotnet /app/DUBuild.dll build -s $CI_PROJECT_DIR -o $CI_PROJECT_DIR/output -e $CI_PROJECT_DIR/UnitTests -w false -m "$CI_PROJECT_DIR/main.lua"
artifacts:
paths:
- $CI_PROJECT_DIR/output/*.json
Horizon:Build-Dev:
rules:
- if: '$CI_COMMIT_BRANCH == "development"'
image: registry.internal.st/dual-universe/dubuild:latest
stage: build
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- dotnet /app/DUBuild.dll build -s $CI_PROJECT_DIR -o $CI_PROJECT_DIR/output -e $CI_PROJECT_DIR/UnitTests -w false -m "$CI_PROJECT_DIR/main.lua"
artifacts:
paths:
- $CI_PROJECT_DIR/output/*.json