forked from Igalia/meta-webkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
102 lines (93 loc) · 3.52 KB
/
.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.meta-webkit-env:
before_script:
- |
echo "Environment:"
echo "======================================================================"
echo "CI_REPOSITORY_URL=\"$CI_REPOSITORY_URL\""
echo "CI_COMMIT_SHA=\"$CI_COMMIT_SHA\""
echo "MANIFEST=\"$MANIFEST\""
echo "SOURCE=\"$SOURCE\""
echo "BITBAKE_TARGET=\"$BITBAKE_TARGET\""
echo "======================================================================"
- |
mkdir -p ~/yocto-webkit
cd ~/yocto-webkit
ulimit -n 4096
rm -rf sources .repo
- repo init -u $CI_REPOSITORY_URL -m $MANIFEST -b $CI_COMMIT_SHA
- repo sync --force-sync
- pushd sources/meta-webkit
- git remote remove tmp || true
- git remote add tmp $CI_REPOSITORY_URL
- git fetch tmp
- git checkout $CI_COMMIT_SHA
- popd
- source sources/meta-webkit/.gitlab-ci/scripts/setup-environment $SOURCE
- rm -rf tmp
tags:
- meta-webkit
variables:
# setup-environment targetname machine distro bblayers presets
# SOURCE: raspberrypi3-mesa-wpe-2.36 raspberrypi3-mesa poky layers.python2.raspberrypi.qt5.webkit conf_v3.wpe-2_36
# MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
BITBAKE_TARGET: wpewebkit
script:
- bitbake $BITBAKE_TARGET
- rm -rf tmp
langdale-raspberrypi3-mesa-weston-wpe-2.36:
extends:
- .meta-webkit-env
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-langdale.xml
SOURCE: raspberrypi3-mesa-wpe-2.36 raspberrypi3-mesa poky layers.python2.raspberrypi.webkit conf_v3.wpe-2_36
kirkstone-raspberrypi3-mesa-weston-gtk:
extends:
- .meta-webkit-env
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
SOURCE: raspberrypi3-mesa-webkitgtk raspberrypi3-mesa poky layers.python2.raspberrypi.webkit conf_v3
BITBAKE_TARGET: webkitgtk
kirkstone-raspberrypi3-mesa-weston-wpe-musl:
extends:
- .meta-webkit-env
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
SOURCE: raspberrypi3-mesa-wpe-musl raspberrypi3-mesa poky layers.python2.raspberrypi.webkit conf_v3.wpe-2_36
script:
- TCLIBC=musl bitbake $BITBAKE_TARGET
- rm -rf tmp
kirkstone-raspberrypi3-mesa-weston-wpe-qt:
extends:
- .meta-webkit-env
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
SOURCE: raspberrypi3-mesa-wpe-qt raspberrypi3-mesa poky layers.python2.raspberrypi.qt5.webkit conf_v3.wpe-2_36.qt
kirkstone-raspberrypi3-mesa-weston-wpe-2.34:
extends:
- .meta-webkit-env
variables:
MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
SOURCE: raspberrypi3-mesa-wpe-2.34 raspberrypi3-mesa poky layers.python2.raspberrypi.webkit conf_v3.wpe-2_34
kirkstone-raspberrypi3-mesa-weston-wpe-2.36:
extends:
- .meta-webkit-env
variables:
MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
SOURCE: raspberrypi3-mesa-wpe-2.36 raspberrypi3-mesa poky layers.python2.raspberrypi.webkit conf_v3.wpe-2_36
kirkstone-raspberrypi4-64-weston-wpe-2.36:
extends:
- .meta-webkit-env
variables:
MANIFEST: .gitlab-ci/manifest/manifest-kirkstone.xml
SOURCE: raspberrypi4-64-wpe-2.36 raspberrypi4-64 poky layers.python2.raspberrypi.webkit conf_v3.wpe-2_36
dunfell-raspberrypi3-mesa-weston-wpe-2.36:
extends:
- .meta-webkit-env
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-dunfell.xml
SOURCE: raspberrypi3-mesa-wpe-2.36 raspberrypi3-mesa poky layers.python2.raspberrypi.gstreamer.webkit conf_v1.wpe-2_36