-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitlab-ci.yml
59 lines (50 loc) · 971 Bytes
/
.gitlab-ci.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
cache:
paths:
- Dev # todo use these 2 (for now in home)
- SDK
- Builds
stages:
- "build"
- "test"
- "package"
- "deploy"
build_job:
stage: build
only:
- master@lgml/lgml
script:
- "echo installDeps"
- "source Scripts/export_platform_vars.sh"
- "sh Scripts/$LGML_PLATFORM_TYPE/installDeps.sh;"
- "python Scripts/buildScript.py --build "
test_job:
only:
- master@lgml/lgml
stage: test
script:
- "echo no tests for now"
package:
only:
- master@lgml/lgml
stage: package
script:
- "python Scripts/buildScript.py --package --export "
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- gh-pages
# artifacts:
# paths:
# - Builds/MacOSX/build/
# only:
# - tags
# script:
# - "sh Scripts/$LGML_PLATFORM_TYPE/installExportDeps.sh;"
# - "python Scripts/buildScript.py --export"