forked from AuroraMiddleware/gtk
f699a299ad
We don't want to spend a lot of time on it just to check the build.
31 lines
636 B
Bash
Executable File
31 lines
636 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
mkdir -p _ccache
|
|
export CCACHE_BASEDIR="$(pwd)"
|
|
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
|
|
|
export PATH="${HOME}/.local/bin:${PATH}"
|
|
python3 -m pip install --user meson==0.49.2
|
|
|
|
meson \
|
|
-Dinstalled_tests=true \
|
|
-Dbroadway_backend=true \
|
|
-Dx11_backend=true \
|
|
-Dwayland_backend=true \
|
|
-Dxinerama=yes \
|
|
-Dprint_backends="file,lpr,test,cloudprint,cups" \
|
|
${EXTRA_MESON_FLAGS:-} \
|
|
_build
|
|
|
|
cd _build
|
|
ninja
|
|
|
|
xvfb-run -a -s "-screen 0 1024x768x24" \
|
|
meson test \
|
|
--timeout-multiplier 4 \
|
|
--print-errorlogs \
|
|
--suite=gtk+-3.0 \
|
|
--no-suite=gtk+-3.0:a11y
|