@ -80,13 +80,37 @@ container_prep:
- build-*/weston-virtme
- build-*/weston-virtme
- prefix-*
- prefix-*
.build-native-meson-no-test:
extends : .build-native
tags:
- kvm
script:
- export PATH=~/.local/bin:$PATH
- cd "$BUILDDIR"
- meson --prefix="$PREFIX" ${MESON_OPTIONS} ..
- ninja -k0
- ninja install
- ninja clean
artifacts:
name : weston-$CI_COMMIT_SHA
when : always
paths:
- build-*/meson-logs
- prefix-*
build-native-meson-default-options:
build-native-meson-default-options:
variables:
variables:
MESON_OPTIONS : >
MESON_OPTIONS : >
-Dwerror=true
-Dwerror=true
-Ddoc=true
extends : .build-native-meson
extends : .build-native-meson
build-docs:
variables:
MESON_OPTIONS : >
-Dwerror=true
-Ddoc=true
extends : .build-native-meson-no-test
build-native-meson-no-gl-renderer:
build-native-meson-no-gl-renderer:
variables:
variables:
MESON_OPTIONS : >
MESON_OPTIONS : >
@ -100,10 +124,10 @@ build-native-meson-no-gl-renderer:
preview-docs:
preview-docs:
stage : pages
stage : pages
script:
script:
- mv prefix-weston-build-native-meson-default-option s/share/doc/weston Documentation
- mv prefix-weston-build-doc s/share/doc/weston Documentation
- rm -rf build-* prefix-*
- rm -rf build-* prefix-*
dependencies:
dependencies:
- build-native-meson-default-option s
- build-doc s
artifacts:
artifacts:
expose_as : 'Documentation preview'
expose_as : 'Documentation preview'
paths:
paths:
@ -112,9 +136,9 @@ preview-docs:
pages:
pages:
stage : pages
stage : pages
dependencies:
dependencies:
- build-native-meson-default-option s
- build-doc s
script:
script:
- export PREFIX=$(pwd)/prefix-weston-build-native-meson-default-option s
- export PREFIX=$(pwd)/prefix-weston-build-doc s
- mkdir public
- mkdir public
- cp -R $PREFIX/share/doc/weston/* public/
- cp -R $PREFIX/share/doc/weston/* public/
artifacts:
artifacts: