@ -47,12 +47,12 @@ container_prep:
- export BUILDDIR="$(pwd)/build-$BUILD_ID"
- export BUILDDIR="$(pwd)/build-$BUILD_ID"
- mkdir "$BUILDDIR" "$PREFIX"
- mkdir "$BUILDDIR" "$PREFIX"
build-native-meson:
. build-native-meson:
extends : .build-native
extends : .build-native
script:
script:
- export PATH=~/.local/bin:$PATH
- export PATH=~/.local/bin:$PATH
- cd "$BUILDDIR"
- cd "$BUILDDIR"
- meson --prefix="$PREFIX" -Dsimple-dmabuf-drm=intel -Dwerror=true -Ddoc=true ..
- meson --prefix="$PREFIX" ${MESON_OPTIONS} ..
- ninja -k0
- ninja -k0
- ninja install
- ninja install
- ninja test
- ninja test
@ -64,10 +64,28 @@ build-native-meson:
- build-*/meson-logs
- build-*/meson-logs
- prefix-*
- prefix-*
build-native-meson-default-options:
variables:
MESON_OPTIONS : >
-Dsimple-dmabuf-drm=intel
-Dwerror=true
-Ddoc=true
extends : .build-native-meson
build-native-meson-no-gl-renderer:
variables:
MESON_OPTIONS : >
-Dsimple-dmabuf-drm=intel
-Dsimple-clients=damage,im,shm,touch,dmabuf-v4l
-Drenderer-gl=false
-Dremoting=false
-Dwerror=true
extends : .build-native-meson
pages:
pages:
stage : pages
stage : pages
dependencies:
dependencies:
- build-native-meson
- build-native-meson-default-options
script:
script:
- export PREFIX=$(pwd)/prefix-weston-build-native-meson
- export PREFIX=$(pwd)/prefix-weston-build-native-meson
- mkdir public
- mkdir public